MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.xqj
Class TreeItem

java.lang.Object
  extended by ch.ethz.mxquery.xqj.TreeItem
All Implemented Interfaces:
Item

public class TreeItem
extends java.lang.Object
implements Item


Constructor Summary
TreeItem(java.util.Vector v)
           
 
Method Summary
 void close()
           
 XDMIterator getAsIterator()
           
 java.lang.String getAtomicValue()
           
 boolean getBoolean()
           
 byte getByte()
           
 double getDouble()
           
 float getFloat()
           
 int getInt()
           
 java.lang.String getItemAsString()
           
 long getLong()
           
 java.lang.String getSerializedValue(Token tok)
           
 short getShort()
           
 TypeInfo getType()
           
 boolean isClosed()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeItem

public TreeItem(java.util.Vector v)
Method Detail

close

public void close()
Specified by:
close in interface Item

getAtomicValue

public java.lang.String getAtomicValue()
                                throws javax.xml.xquery.XQException
Specified by:
getAtomicValue in interface Item
Throws:
javax.xml.xquery.XQException

getBoolean

public boolean getBoolean()
                   throws javax.xml.xquery.XQException
Specified by:
getBoolean in interface Item
Throws:
javax.xml.xquery.XQException

getByte

public byte getByte()
             throws javax.xml.xquery.XQException
Specified by:
getByte in interface Item
Throws:
javax.xml.xquery.XQException

getDouble

public double getDouble()
                 throws javax.xml.xquery.XQException
Specified by:
getDouble in interface Item
Throws:
javax.xml.xquery.XQException

getFloat

public float getFloat()
               throws javax.xml.xquery.XQException
Specified by:
getFloat in interface Item
Throws:
javax.xml.xquery.XQException

getInt

public int getInt()
           throws javax.xml.xquery.XQException
Specified by:
getInt in interface Item
Throws:
javax.xml.xquery.XQException

getItemAsString

public java.lang.String getItemAsString()
                                 throws javax.xml.xquery.XQException
Specified by:
getItemAsString in interface Item
Throws:
javax.xml.xquery.XQException

getAsIterator

public XDMIterator getAsIterator()
Specified by:
getAsIterator in interface Item

getSerializedValue

public java.lang.String getSerializedValue(Token tok)
                                    throws MXQueryException
Throws:
MXQueryException

getLong

public long getLong()
             throws javax.xml.xquery.XQException
Specified by:
getLong in interface Item
Throws:
javax.xml.xquery.XQException

getShort

public short getShort()
               throws javax.xml.xquery.XQException
Specified by:
getShort in interface Item
Throws:
javax.xml.xquery.XQException

isClosed

public boolean isClosed()
Specified by:
isClosed in interface Item

getType

public TypeInfo getType()
Specified by:
getType in interface Item

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich