@Component public class DateDataType extends Object implements RDFDatatype
| Constructor and Description |
|---|
DateDataType() |
| Modifier and Type | Method and Description |
|---|---|
Object |
cannonicalise(Object value) |
Object |
extendedTypeDefinition() |
int |
getHashCode(com.hp.hpl.jena.graph.impl.LiteralLabel lit) |
Class<org.joda.time.LocalDate> |
getJavaClass() |
String |
getURI() |
boolean |
isEqual(com.hp.hpl.jena.graph.impl.LiteralLabel left,
com.hp.hpl.jena.graph.impl.LiteralLabel right) |
boolean |
isValid(String lexicalForm) |
boolean |
isValidLiteral(com.hp.hpl.jena.graph.impl.LiteralLabel lit) |
boolean |
isValidValue(Object valueForm) |
RDFDatatype |
normalizeSubType(Object value,
RDFDatatype dt) |
Object |
parse(String lexicalForm) |
static void |
registerStaticInstance() |
String |
unparse(Object value) |
public static final String URI
public static void registerStaticInstance()
public String getURI()
getURI in interface RDFDatatypepublic Class<org.joda.time.LocalDate> getJavaClass()
getJavaClass in interface RDFDatatypepublic String unparse(Object value)
unparse in interface RDFDatatypepublic Object cannonicalise(Object value)
cannonicalise in interface RDFDatatypepublic Object extendedTypeDefinition()
extendedTypeDefinition in interface RDFDatatypepublic int getHashCode(com.hp.hpl.jena.graph.impl.LiteralLabel lit)
getHashCode in interface RDFDatatypepublic boolean isEqual(com.hp.hpl.jena.graph.impl.LiteralLabel left, com.hp.hpl.jena.graph.impl.LiteralLabel right)
isEqual in interface RDFDatatypepublic Object parse(String lexicalForm) throws DatatypeFormatException
parse in interface RDFDatatypeDatatypeFormatExceptionpublic boolean isValid(String lexicalForm)
isValid in interface RDFDatatypepublic boolean isValidLiteral(com.hp.hpl.jena.graph.impl.LiteralLabel lit)
isValidLiteral in interface RDFDatatypepublic boolean isValidValue(Object valueForm)
isValidValue in interface RDFDatatypepublic RDFDatatype normalizeSubType(Object value, RDFDatatype dt)
normalizeSubType in interface RDFDatatypeCopyright © 2009-2013. All Rights Reserved.