MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.datamodel.xdm
Class DateTimeToken

java.lang.Object
  extended by ch.ethz.mxquery.datamodel.xdm.Token
      extended by ch.ethz.mxquery.datamodel.xdm.DateTimeToken

public final class DateTimeToken
extends Token


Field Summary
 
Fields inherited from class ch.ethz.mxquery.datamodel.xdm.Token
END_SEQUENCE_TOKEN, MASK_CLEAN_START_TAG, MASK_GET_START_TAG, START_SEQUENCE_TOKEN
 
Constructor Summary
DateTimeToken(DateTimeToken token)
           
DateTimeToken(Identifier id, MXQueryDateTime value)
           
 
Method Summary
 Token copy()
           
 MXQueryDateTime getDateTime()
           
 java.lang.String getValueAsString()
           
 Token toAttrToken(QName name, XDMScope scope)
           
 
Methods inherited from class ch.ethz.mxquery.datamodel.xdm.Token
compare, compare, compareTo, equals, equals, getBinary, getBoolean, getDate, getDayTimeDur, getDouble, getDuration, getDynamicScope, getEventType, getFloat, getGregorian, getId, getLocal, getLong, getName, getNS, getNumber, getQNameTokenValue, getSchemaNormalizedValue, getText, getTime, getTypeAnnotation, getYearMonthDur, hashCode, isAttribute, setDynamicScope, setEventType, setId, setNS, setSchemaNormalizedValue
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateTimeToken

public DateTimeToken(Identifier id,
                     MXQueryDateTime value)

DateTimeToken

public DateTimeToken(DateTimeToken token)
Method Detail

getDateTime

public MXQueryDateTime getDateTime()
Overrides:
getDateTime in class Token

getValueAsString

public java.lang.String getValueAsString()
Overrides:
getValueAsString in class Token

toAttrToken

public Token toAttrToken(QName name,
                         XDMScope scope)
                  throws MXQueryException
Overrides:
toAttrToken in class Token
Throws:
MXQueryException

copy

public Token copy()
Overrides:
copy in class Token

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich