java.lang.Object
org.apache.jena.datatypes.BaseDatatype
org.apache.jena.datatypes.xsd.impl.RDFDirLangString
- All Implemented Interfaces:
RDFDatatype
rdf:dirLangString - a literal with language and base direction.
This covers the unusual case of "foo"^^rdf:dirLangString.
-
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.static booleanisRDFDirLangString(RDFDatatype rdfDatatype) Test where anRDFDatatypeis that forrdf:dirLangString.This covers the unusual case of "foo"^^rdf:dirLangString.Convert a value of this datatype out to lexical form.Methods inherited from class org.apache.jena.datatypes.BaseDatatype
cannonicalise, equals, extendedTypeDefinition, getHashCode, getJavaClass, getURI, hashCode, isValid, isValidLiteral, isValidValue, langTagCompatible, normalizeSubType, toStringMethods inherited from interface org.apache.jena.datatypes.RDFDatatype
cannonicalise, extendedTypeDefinition, getHashCode, getJavaClass, getURI, isValid, isValidLiteral, isValidValue, normalizeSubType
-
Field Details
-
rdfDirLangStringURI
- See Also:
-
rdfDirLangString
Singleton instancePrefer
RDF.dtDirLangStringin applications.
-
-
Method Details
-
isRDFDirLangString
Test where anRDFDatatypeis that forrdf:dirLangString. -
isEqual
Compares two instances of values of the given datatype.- Specified by:
isEqualin interfaceRDFDatatype- Overrides:
isEqualin classBaseDatatype
-
parse
This covers the unusual case of "foo"^^rdf:dirLangString.- 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
-