Package net.sf.saxon.xqj
Class SaxonXQItem
- java.lang.Object
-
- net.sf.saxon.xqj.SaxonXQItem
-
- All Implemented Interfaces:
XQItem,XQItemAccessor,XQResultItem
public class SaxonXQItem extends java.lang.Object implements XQResultItem
-
-
Constructor Summary
Constructors Constructor Description SaxonXQItem(Item item, Configuration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearWarnings()voidclose()java.lang.StringgetAtomicValue()booleangetBoolean()bytegetByte()(package private) ConfigurationgetConfiguration()XQConnectiongetConnection()doublegetDouble()floatgetFloat()intgetInt()(package private) ItemgetItem()javax.xml.stream.XMLStreamReadergetItemAsStream()java.lang.StringgetItemAsString()java.lang.StringgetItemAsString(java.util.Properties props)XQItemTypegetItemType()longgetLong()org.w3c.dom.NodegetNode()java.net.URIgetNodeUri()java.lang.ObjectgetObject()java.lang.ObjectgetObject(XQCommonHandler handler)shortgetShort()XQWarninggetWarnings()booleaninstanceOf(XQItemType type)booleanisClosed()(package private) voidsetConnection(SaxonXQConnection connection)voidwriteItem(java.io.OutputStream os, java.util.Properties props)voidwriteItem(java.io.Writer ow, java.util.Properties props)voidwriteItemToSAX(org.xml.sax.ContentHandler saxHandler)
-
-
-
Constructor Detail
-
SaxonXQItem
public SaxonXQItem(Item item, Configuration config)
-
-
Method Detail
-
getConfiguration
Configuration getConfiguration()
-
getItem
Item getItem()
-
setConnection
void setConnection(SaxonXQConnection connection)
-
clearWarnings
public void clearWarnings()
- Specified by:
clearWarningsin interfaceXQResultItem
-
getConnection
public XQConnection getConnection() throws XQException
- Specified by:
getConnectionin interfaceXQResultItem- Throws:
XQException
-
getWarnings
public XQWarning getWarnings() throws XQException
- Specified by:
getWarningsin interfaceXQResultItem- Throws:
XQException
-
close
public void close() throws XQException- Specified by:
closein interfaceXQItem- Throws:
XQException
-
getAtomicValue
public java.lang.String getAtomicValue() throws XQException- Specified by:
getAtomicValuein interfaceXQItemAccessor- Throws:
XQException
-
getBoolean
public boolean getBoolean() throws XQException- Specified by:
getBooleanin interfaceXQItemAccessor- Throws:
XQException
-
getByte
public byte getByte() throws XQException- Specified by:
getBytein interfaceXQItemAccessor- Throws:
XQException
-
getDouble
public double getDouble() throws XQException- Specified by:
getDoublein interfaceXQItemAccessor- Throws:
XQException
-
getFloat
public float getFloat() throws XQException- Specified by:
getFloatin interfaceXQItemAccessor- Throws:
XQException
-
getInt
public int getInt() throws XQException- Specified by:
getIntin interfaceXQItemAccessor- Throws:
XQException
-
getItemAsStream
public javax.xml.stream.XMLStreamReader getItemAsStream() throws XQException- Specified by:
getItemAsStreamin interfaceXQItemAccessor- Throws:
XQException
-
getItemAsString
public java.lang.String getItemAsString() throws XQException- Specified by:
getItemAsStringin interfaceXQItemAccessor- Throws:
XQException
-
getItemAsString
public java.lang.String getItemAsString(java.util.Properties props) throws XQException- Throws:
XQException
-
getItemType
public XQItemType getItemType() throws XQException
- Specified by:
getItemTypein interfaceXQItemAccessor- Throws:
XQException
-
getLong
public long getLong() throws XQException- Specified by:
getLongin interfaceXQItemAccessor- Throws:
XQException
-
getNode
public org.w3c.dom.Node getNode() throws XQException- Specified by:
getNodein interfaceXQItemAccessor- Throws:
XQException
-
getNodeUri
public java.net.URI getNodeUri() throws XQException- Specified by:
getNodeUriin interfaceXQItemAccessor- Throws:
XQException
-
getObject
public java.lang.Object getObject() throws XQException- Specified by:
getObjectin interfaceXQItemAccessor- Throws:
XQException
-
getObject
public java.lang.Object getObject(XQCommonHandler handler) throws XQException
- Specified by:
getObjectin interfaceXQItemAccessor- Throws:
XQException
-
getShort
public short getShort() throws XQException- Specified by:
getShortin interfaceXQItemAccessor- Throws:
XQException
-
instanceOf
public boolean instanceOf(XQItemType type) throws XQException
- Specified by:
instanceOfin interfaceXQItemAccessor- Throws:
XQException
-
writeItem
public void writeItem(java.io.OutputStream os, java.util.Properties props) throws XQException- Specified by:
writeItemin interfaceXQItemAccessor- Throws:
XQException
-
writeItem
public void writeItem(java.io.Writer ow, java.util.Properties props) throws XQException- Specified by:
writeItemin interfaceXQItemAccessor- Throws:
XQException
-
writeItemToSAX
public void writeItemToSAX(org.xml.sax.ContentHandler saxHandler) throws XQException- Specified by:
writeItemToSAXin interfaceXQItemAccessor- Throws:
XQException
-
-