Example usage for Java org.apache.commons.rdf.api Literal fields, constructors, methods, implement or subclass
The text is from its open source code.
IRI | getDatatype() The IRI identifying the datatype that determines how the lexical form maps to a literal value. |
Optional | getLanguageTag() If and only if the datatype IRI is http://www.w3.org/1999/02/22-rdf-syntax-ns#langString, the language tag for this Literal is a non-empty language tag as defined by BCP47. If the datatype IRI is not http://www.w3.org/1999/02/22-rdf-syntax-ns#langString, this method must return Optional#empty() . |
String | getLexicalForm() The lexical form of this literal, represented by a Unicode string. |
String | ntriplesString() Return the term serialised as specified by the RDF-1.1 N-Triples Canonical form. |