net.sf.saxon.javax.xml.xquery

Interface XQItemAccessor

Known Subinterfaces:
XQItem, XQResultItem, XQResultSequence, XQSequence
Known Implementing Classes:
SaxonXQForwardSequence, SaxonXQItem, SaxonXQSequence

public interface XQItemAccessor

XQJ interface reconstructed from version 0.9 documentation

Method Summary

String
getAtomicValue()
boolean
getBoolean()
byte
getByte()
double
getDouble()
float
getFloat()
int
getInt()
XMLStreamReader
getItemAsStream()
String
getItemAsString(Properties props)
XQItemType
getItemType()
long
getLong()
Node
getNode()
URI
getNodeUri()
Object
getObject()
short
getShort()
boolean
instanceOf(XQItemType type)
void
writeItem(OutputStream os, Properties props)
void
writeItem(Writer ow, Properties props)
void
writeItemToResult(Result result)
void
writeItemToSAX(ContentHandler saxHandler)

Method Details

getAtomicValue

public String getAtomicValue()
            throws XQException

getBoolean

public boolean getBoolean()
            throws XQException

getByte

public byte getByte()
            throws XQException

getDouble

public double getDouble()
            throws XQException

getFloat

public float getFloat()
            throws XQException

getInt

public int getInt()
            throws XQException

getItemAsStream

public XMLStreamReader getItemAsStream()
            throws XQException

getItemAsString

public String getItemAsString(Properties props)
            throws XQException

getItemType

public XQItemType getItemType()
            throws XQException

getLong

public long getLong()
            throws XQException

getNode

public Node getNode()
            throws XQException

getNodeUri

public URI getNodeUri()
            throws XQException

getObject

public Object getObject()
            throws XQException

getShort

public short getShort()
            throws XQException

instanceOf

public boolean instanceOf(XQItemType type)
            throws XQException

writeItem

public void writeItem(OutputStream os,
                      Properties props)
            throws XQException

writeItem

public void writeItem(Writer ow,
                      Properties props)
            throws XQException

writeItemToResult

public void writeItemToResult(Result result)
            throws XQException

writeItemToSAX

public void writeItemToSAX(ContentHandler saxHandler)
            throws XQException