public class AdhocDatatype extends BaseDatatype
BaseDatatype.TypedValue| Constructor and Description |
|---|
AdhocDatatype(Class<?> jc) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getJavaClass()
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.
|
Object |
parse(String lexicalForm)
Parse a lexical form of this datatype to a value
|
String |
toString()
Display format
|
cannonicalise, extendedTypeDefinition, getHashCode, getURI, isEqual, isValid, isValidLiteral, langTagCompatible, normalizeSubType, unparsepublic AdhocDatatype(Class<?> jc)
public boolean isValidValue(Object value)
BaseDatatypeisValidValue in interface RDFDatatypeisValidValue in class BaseDatatypepublic Class<?> getJavaClass()
BaseDatatypegetJavaClass in interface RDFDatatypegetJavaClass in class BaseDatatypepublic Object parse(String lexicalForm)
BaseDatatypeparse in interface RDFDatatypeparse in class BaseDatatypepublic String toString()
BaseDatatypetoString in class BaseDatatypeLicenced under the Apache License, Version 2.0