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.booleanisValidValue(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:BaseDatatypeTest whether the given object is a legal value form of this datatype.- Specified by:
isValidValuein interfaceRDFDatatype- Overrides:
isValidValuein classBaseDatatype
-
getJavaClass
Description copied from class:BaseDatatypeReturns the java class which is used to represent value instances of this datatype.- Specified by:
getJavaClassin interfaceRDFDatatype- Overrides:
getJavaClassin classBaseDatatype
-
parse
Description copied from class:BaseDatatypeParse a lexical form of this datatype to a value- Specified by:
parsein interfaceRDFDatatype- Overrides:
parsein classBaseDatatype
-
toString
Description copied from class:BaseDatatypeDisplay format- Overrides:
toStringin classBaseDatatype
-