public class XSDDateTimeStamp extends AbstractTimelineDatatype
Title: xsd:dateTimeStamp
Description: Singleton implementation of xsd:dateTimeStamp
datatype
Copyright: Copyright (c) 2009
Company: Clark & Parsia, LLC.
| Modifier and Type | Method and Description |
|---|---|
RestrictedDatatype<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.
|
XMLGregorianCalendar |
getValue(aterm.ATermAppl literal)
Get the Java object representation of a data value
|
boolean |
isPrimitive()
Check if a datatype is primitive.
|
getLiteralequals, getLexicalForm, getName, hashCodepublic static XSDDateTimeStamp getInstance()
public RestrictedDatatype<XMLGregorianCalendar> asDataRange()
DatatypeDataRange representation of the datatype value spacepublic aterm.ATermAppl getCanonicalRepresentation(aterm.ATermAppl input)
throws InvalidLiteralException
DatatypegetCanonicalRepresentation in interface Datatype<XMLGregorianCalendar>getCanonicalRepresentation in class AbstractTimelineDatatypeinput - a lexical form of the literalInvalidLiteralExceptionpublic Datatype<?> getPrimitiveDatatype()
DatatypegetPrimitiveDatatype in interface Datatype<XMLGregorianCalendar>getPrimitiveDatatype in class AbstractTimelineDatatypethis if isPrimitive() == true, else a
primitive datatype that is a superset of the value space of this
datatype.public XMLGregorianCalendar getValue(aterm.ATermAppl literal) throws InvalidLiteralException
DatatypegetValue in interface Datatype<XMLGregorianCalendar>getValue in class AbstractTimelineDatatypeliteral - the literalInvalidLiteralExceptionpublic boolean isPrimitive()
DatatypeisPrimitive in interface Datatype<XMLGregorianCalendar>isPrimitive in class AbstractTimelineDatatypetrue if the datatype is primitive,
false elseCopyright © 2019. All rights reserved.