Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
All.
Description
ResourceFactory does not have a createLiteral(String v, String language) as per Model i.e. no convenience method to create a Literal with language tag independent of a Model.
Suggested that the following would be appropriate from JenaUsers posting...
public Literal createLangLiteral(String lex, String lang)
{ return new LiteralImpl( Node.createLiteral(lex, lang, null), null); }