MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.datamodel.xdm
Class FloatAttrToken

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

public final class FloatAttrToken
extends NamedToken


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
FloatAttrToken(FloatAttrToken token)
           
FloatAttrToken(Identifier id, MXQueryFloat value, QName name, XDMScope scope)
           
FloatAttrToken(int type, Identifier id, MXQueryFloat value, QName name, XDMScope scope)
           
 
Method Summary
 Token copy()
           
 NamedToken copy(QName newName)
           
 MXQueryDouble getDouble()
           
 MXQueryFloat getFloatValue()
           
 MXQueryNumber getNumber()
           
 java.lang.String getValueAsString()
           
 Token toAttrToken()
           
 
Methods inherited from class ch.ethz.mxquery.datamodel.xdm.NamedToken
copyStrip, getID, getIDREF, getIDREFS, getListValueTypes, getLocal, getName, getNS, getPrefix, setID, setIDREF, setIDREFS, setListValueTypes, setNS, toAttrToken
 
Methods inherited from class ch.ethz.mxquery.datamodel.xdm.Token
compare, compare, compareTo, equals, equals, getBinary, getBoolean, getDate, getDateTime, getDayTimeDur, getDuration, getDynamicScope, getEventType, getFloat, getGregorian, getId, getLong, getQNameTokenValue, getSchemaNormalizedValue, getText, getTime, getTypeAnnotation, getYearMonthDur, hashCode, isAttribute, setDynamicScope, setEventType, setId, setSchemaNormalizedValue
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatAttrToken

public FloatAttrToken(Identifier id,
                      MXQueryFloat value,
                      QName name,
                      XDMScope scope)
               throws MXQueryException
Throws:
MXQueryException

FloatAttrToken

public FloatAttrToken(int type,
                      Identifier id,
                      MXQueryFloat value,
                      QName name,
                      XDMScope scope)
               throws MXQueryException
Throws:
MXQueryException

FloatAttrToken

public FloatAttrToken(FloatAttrToken token)
Method Detail

getDouble

public MXQueryDouble getDouble()
Overrides:
getDouble in class Token

getFloatValue

public MXQueryFloat getFloatValue()

getNumber

public MXQueryNumber getNumber()
Overrides:
getNumber in class Token

getValueAsString

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

toAttrToken

public Token toAttrToken()

copy

public NamedToken copy(QName newName)
                throws MXQueryException
Overrides:
copy in class NamedToken
Throws:
MXQueryException

copy

public Token copy()
Overrides:
copy in class NamedToken

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich