ch.ethz.mxquery.datamodel.xdm
Class TextToken
java.lang.Object
ch.ethz.mxquery.datamodel.xdm.Token
ch.ethz.mxquery.datamodel.xdm.TextToken
- Direct Known Subclasses:
- AnyURIToken, UntypedAtomicToken
public class TextToken
- extends Token
Methods inherited from class ch.ethz.mxquery.datamodel.xdm.Token |
compare, compare, compareTo, equals, equals, getBinary, getBoolean, getDate, getDateTime, getDayTimeDur, getDouble, getDuration, getDynamicScope, getEventType, getFloat, getGregorian, getId, getLocal, getLong, getName, getNS, getNumber, getQNameTokenValue, getSchemaNormalizedValue, getTime, getTypeAnnotation, getYearMonthDur, hashCode, isAttribute, setDynamicScope, setEventType, setId, setNS, setSchemaNormalizedValue |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
TextToken
public TextToken(Identifier id,
java.lang.String val)
TextToken
public TextToken(int type,
Identifier id,
java.lang.String val,
XDMScope scope)
throws MXQueryException
- for xs: string and any of it's subtypes
- Throws:
MXQueryException
TextToken
public TextToken(TextToken token)
getText
public java.lang.String getText()
- Overrides:
getText
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