|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.clarkparsia.pellet.datatypes.AbstractBaseDatatype<javax.xml.datatype.XMLGregorianCalendar>
com.clarkparsia.pellet.datatypes.types.datetime.AbstractTimelineDatatype
com.clarkparsia.pellet.datatypes.types.datetime.XSDDateTimeStamp
public class XSDDateTimeStamp
Title: xsd:dateTimeStamp
Description: Singleton implementation of xsd:dateTimeStamp
datatype
Copyright: Copyright (c) 2009
Company: Clark & Parsia, LLC.
Method Summary | |
---|---|
RestrictedDatatype<javax.xml.datatype.XMLGregorianCalendar> |
asDataRange()
Get the canonical data range for a datatype |
aterm.ATermAppl |
getCanonicalRepresentation(aterm.ATermAppl input)
Get the canonical representation of a lexical form |
static XSDDateTimeStamp |
getInstance()
|
Datatype<?> |
getPrimitiveDatatype()
Get the primitive datatype associated with this datatype. |
javax.xml.datatype.XMLGregorianCalendar |
getValue(aterm.ATermAppl literal)
Get the Java object representation of a data value |
boolean |
isPrimitive()
Check if a datatype is primitive. |
Methods inherited from class com.clarkparsia.pellet.datatypes.types.datetime.AbstractTimelineDatatype |
---|
getLiteral |
Methods inherited from class com.clarkparsia.pellet.datatypes.AbstractBaseDatatype |
---|
equals, getName, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static XSDDateTimeStamp getInstance()
public RestrictedDatatype<javax.xml.datatype.XMLGregorianCalendar> asDataRange()
Datatype
DataRange
representation of the datatype value spacepublic aterm.ATermAppl getCanonicalRepresentation(aterm.ATermAppl input) throws InvalidLiteralException
Datatype
getCanonicalRepresentation
in interface Datatype<javax.xml.datatype.XMLGregorianCalendar>
getCanonicalRepresentation
in class AbstractTimelineDatatype
input
- a lexical form of the literal
InvalidLiteralException
public Datatype<?> getPrimitiveDatatype()
Datatype
getPrimitiveDatatype
in interface Datatype<javax.xml.datatype.XMLGregorianCalendar>
getPrimitiveDatatype
in class AbstractTimelineDatatype
this
if isPrimitive() == true
, else a
primitive datatype that is a superset of the value space of this
datatype.public javax.xml.datatype.XMLGregorianCalendar getValue(aterm.ATermAppl literal) throws InvalidLiteralException
Datatype
getValue
in interface Datatype<javax.xml.datatype.XMLGregorianCalendar>
getValue
in class AbstractTimelineDatatype
literal
- the literal
InvalidLiteralException
public boolean isPrimitive()
Datatype
isPrimitive
in interface Datatype<javax.xml.datatype.XMLGregorianCalendar>
isPrimitive
in class AbstractTimelineDatatype
true
if the datatype is primitive,
false
else
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |