[ 
https://issues.apache.org/jira/browse/JENA-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne closed JENA-213.
------------------------------

    
> Create convenience method ResourceFactory.createLiteral(String v, String 
> language).
> -----------------------------------------------------------------------------------
>
>                 Key: JENA-213
>                 URL: https://issues.apache.org/jira/browse/JENA-213
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: Jena
>         Environment: All.
>            Reporter: Dick Murray
>            Priority: Minor
>             Fix For: Jena 2.10.0
>
>
> 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);
>  }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to