MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.xqj
Class MXQueryXQItem

java.lang.Object
  extended by ch.ethz.mxquery.xqj.MXQueryXQItem
All Implemented Interfaces:
javax.xml.xquery.XQItem, javax.xml.xquery.XQItemAccessor, javax.xml.xquery.XQResultItem

public class MXQueryXQItem
extends java.lang.Object
implements javax.xml.xquery.XQResultItem


Method Summary
 void close()
           
 java.lang.String getAtomicValue()
           
 boolean getBoolean()
           
 byte getByte()
           
 javax.xml.xquery.XQConnection getConnection()
           
 double getDouble()
           
 float getFloat()
           
 int getInt()
           
 javax.xml.stream.XMLStreamReader getItemAsStream()
           
 java.lang.String getItemAsString(java.util.Properties props)
           
 javax.xml.xquery.XQItemType getItemType()
           
 long getLong()
           
 org.w3c.dom.Node getNode()
           
 java.net.URI getNodeUri()
           
 java.lang.Object getObject()
           
 short getShort()
           
 boolean instanceOf(javax.xml.xquery.XQItemType type)
           
 boolean isClosed()
           
 void writeItem(java.io.OutputStream os, java.util.Properties props)
           
 void writeItem(java.io.Writer ow, java.util.Properties props)
           
 void writeItemToResult(javax.xml.transform.Result result)
           
 void writeItemToSAX(org.xml.sax.ContentHandler saxHandler)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

close

public void close()
           throws javax.xml.xquery.XQException
Specified by:
close in interface javax.xml.xquery.XQItem
Throws:
javax.xml.xquery.XQException

isClosed

public boolean isClosed()
Specified by:
isClosed in interface javax.xml.xquery.XQItem

getAtomicValue

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

getBoolean

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

getByte

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

getDouble

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

getFloat

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

getInt

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

getItemType

public javax.xml.xquery.XQItemType getItemType()
                                        throws javax.xml.xquery.XQException
Specified by:
getItemType in interface javax.xml.xquery.XQItemAccessor
Throws:
javax.xml.xquery.XQException

getLong

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

getNode

public org.w3c.dom.Node getNode()
                         throws javax.xml.xquery.XQException
Specified by:
getNode in interface javax.xml.xquery.XQItemAccessor
Throws:
javax.xml.xquery.XQException

getNodeUri

public java.net.URI getNodeUri()
                        throws javax.xml.xquery.XQException
Specified by:
getNodeUri in interface javax.xml.xquery.XQItemAccessor
Throws:
javax.xml.xquery.XQException

getObject

public java.lang.Object getObject()
                           throws javax.xml.xquery.XQException
Specified by:
getObject in interface javax.xml.xquery.XQItemAccessor
Throws:
javax.xml.xquery.XQException

getShort

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

instanceOf

public boolean instanceOf(javax.xml.xquery.XQItemType type)
                   throws javax.xml.xquery.XQException
Specified by:
instanceOf in interface javax.xml.xquery.XQItemAccessor
Throws:
javax.xml.xquery.XQException

writeItem

public void writeItem(java.io.OutputStream os,
                      java.util.Properties props)
               throws javax.xml.xquery.XQException
Specified by:
writeItem in interface javax.xml.xquery.XQItemAccessor
Throws:
javax.xml.xquery.XQException

writeItem

public void writeItem(java.io.Writer ow,
                      java.util.Properties props)
               throws javax.xml.xquery.XQException
Specified by:
writeItem in interface javax.xml.xquery.XQItemAccessor
Throws:
javax.xml.xquery.XQException

writeItemToSAX

public void writeItemToSAX(org.xml.sax.ContentHandler saxHandler)
                    throws javax.xml.xquery.XQException
Specified by:
writeItemToSAX in interface javax.xml.xquery.XQItemAccessor
Throws:
javax.xml.xquery.XQException

getConnection

public javax.xml.xquery.XQConnection getConnection()
                                            throws javax.xml.xquery.XQException
Specified by:
getConnection in interface javax.xml.xquery.XQResultItem
Throws:
javax.xml.xquery.XQException

getItemAsStream

public javax.xml.stream.XMLStreamReader getItemAsStream()
                                                 throws javax.xml.xquery.XQException
Specified by:
getItemAsStream in interface javax.xml.xquery.XQItemAccessor
Throws:
javax.xml.xquery.XQException

getItemAsString

public java.lang.String getItemAsString(java.util.Properties props)
                                 throws javax.xml.xquery.XQException
Specified by:
getItemAsString in interface javax.xml.xquery.XQItemAccessor
Throws:
javax.xml.xquery.XQException

writeItemToResult

public void writeItemToResult(javax.xml.transform.Result result)
                       throws javax.xml.xquery.XQException
Specified by:
writeItemToResult in interface javax.xml.xquery.XQItemAccessor
Throws:
javax.xml.xquery.XQException

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich