@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 RDFDatatype
public Class<org.joda.time.LocalDate> getJavaClass()
getJavaClass
in interface RDFDatatype
public String unparse(Object value)
unparse
in interface RDFDatatype
public Object cannonicalise(Object value)
cannonicalise
in interface RDFDatatype
public Object extendedTypeDefinition()
extendedTypeDefinition
in interface RDFDatatype
public int getHashCode(com.hp.hpl.jena.graph.impl.LiteralLabel lit)
getHashCode
in interface RDFDatatype
public boolean isEqual(com.hp.hpl.jena.graph.impl.LiteralLabel left, com.hp.hpl.jena.graph.impl.LiteralLabel right)
isEqual
in interface RDFDatatype
public Object parse(String lexicalForm) throws DatatypeFormatException
parse
in interface RDFDatatype
DatatypeFormatException
public boolean isValid(String lexicalForm)
isValid
in interface RDFDatatype
public boolean isValidLiteral(com.hp.hpl.jena.graph.impl.LiteralLabel lit)
isValidLiteral
in interface RDFDatatype
public boolean isValidValue(Object valueForm)
isValidValue
in interface RDFDatatype
public RDFDatatype normalizeSubType(Object value, RDFDatatype dt)
normalizeSubType
in interface RDFDatatype
Copyright © 2009-2013. All Rights Reserved.