java.lang.Object
org.apache.jena.datatypes.BaseDatatype
org.apache.jena.graph.impl.AdhocDatatype
- All Implemented Interfaces:
RDFDatatype
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.jena.datatypes.BaseDatatype
BaseDatatype.TypedValue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>
Returns the java class which is used to represent value instances of this datatype.boolean
isValidValue
(Object value) Test whether the given object is a legal value form of this datatype.Parse a lexical form of this datatype to a valuetoString()
Display formatMethods inherited from class org.apache.jena.datatypes.BaseDatatype
cannonicalise, equals, extendedTypeDefinition, getHashCode, getURI, hashCode, isEqual, isValid, isValidLiteral, langTagCompatible, normalizeSubType, unparse
-
Constructor Details
-
AdhocDatatype
-
-
Method Details
-
isValidValue
Description copied from class:BaseDatatype
Test whether the given object is a legal value form of this datatype.- Specified by:
isValidValue
in interfaceRDFDatatype
- Overrides:
isValidValue
in classBaseDatatype
-
getJavaClass
Description copied from class:BaseDatatype
Returns the java class which is used to represent value instances of this datatype.- Specified by:
getJavaClass
in interfaceRDFDatatype
- Overrides:
getJavaClass
in classBaseDatatype
-
parse
Description copied from class:BaseDatatype
Parse a lexical form of this datatype to a value- Specified by:
parse
in interfaceRDFDatatype
- Overrides:
parse
in classBaseDatatype
-
toString
Description copied from class:BaseDatatype
Display format- Overrides:
toString
in classBaseDatatype
-