java.lang.Object
org.apache.jena.datatypes.BaseDatatype
org.apache.jena.datatypes.xsd.impl.RDFLangString
- All Implemented Interfaces:
RDFDatatype
rdf:langString.
This covers the unusual case of "foo"^^rdf:langString
When there is a language tag, there is a lexical form but it is in two parts lex@lang
This is not rdf:plainLiteral!
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.jena.datatypes.BaseDatatype
BaseDatatype.TypedValue -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEqual(LiteralLabel value1, LiteralLabel value2) Compares two instances of values of the given datatype.Parse a lexical form of this datatype to a valueConvert a value of this datatype out to lexical form.Methods inherited from class org.apache.jena.datatypes.BaseDatatype
cannonicalise, extendedTypeDefinition, getHashCode, getJavaClass, getURI, isValid, isValidLiteral, isValidValue, langTagCompatible, normalizeSubType, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.jena.datatypes.RDFDatatype
cannonicalise, extendedTypeDefinition, getHashCode, getJavaClass, getURI, isValid, isValidLiteral, isValidValue, normalizeSubType
-
Field Details
-
rdfLangString
Singleton instance
-
-
Method Details
-
isEqual
Compares two instances of values of the given datatype.- Specified by:
isEqualin interfaceRDFDatatype- Overrides:
isEqualin classBaseDatatype
-
parse
Description copied from class:BaseDatatypeParse a lexical form of this datatype to a value- Specified by:
parsein interfaceRDFDatatype- Overrides:
parsein classBaseDatatype
-
unparse
Description copied from class:BaseDatatypeConvert a value of this datatype out to lexical form.- Specified by:
unparsein interfaceRDFDatatype- Overrides:
unparsein classBaseDatatype
-