|
||||||||||
| 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
public abstract class AbstractTimelineDatatype
| Constructor Summary | |
|---|---|
AbstractTimelineDatatype(aterm.ATermAppl name,
javax.xml.namespace.QName schemaType)
|
|
| Method Summary | |
|---|---|
aterm.ATermAppl |
getCanonicalRepresentation(aterm.ATermAppl input)
Get the canonical representation of a lexical form |
aterm.ATermAppl |
getLiteral(java.lang.Object value)
Get the canonical ATermAppl literal representation for a value
space object. |
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.AbstractBaseDatatype |
|---|
equals, getName, hashCode |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.clarkparsia.pellet.datatypes.Datatype |
|---|
asDataRange |
| Constructor Detail |
|---|
public AbstractTimelineDatatype(aterm.ATermAppl name,
javax.xml.namespace.QName schemaType)
| Method Detail |
|---|
public aterm.ATermAppl getCanonicalRepresentation(aterm.ATermAppl input)
throws InvalidLiteralException
Datatype
input - a lexical form of the literal
InvalidLiteralExceptionpublic aterm.ATermAppl getLiteral(java.lang.Object value)
DatatypeATermAppl literal representation for a value
space object. This may be unsupported by datatypes for which
Datatype.isPrimitive() returns false.
value - Element of the value space for some datatype
ATermAppl representation of valuepublic Datatype<?> getPrimitiveDatatype()
Datatype
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
literal - the literal
InvalidLiteralExceptionpublic boolean isPrimitive()
Datatype
true if the datatype is primitive,
false else
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||