public class SaxonXQItem extends java.lang.Object implements XQResultItem
| Constructor and Description |
|---|
SaxonXQItem(Item item,
Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearWarnings() |
void |
close() |
java.lang.String |
getAtomicValue() |
boolean |
getBoolean() |
byte |
getByte() |
(package private) Configuration |
getConfiguration() |
XQConnection |
getConnection() |
double |
getDouble() |
float |
getFloat() |
int |
getInt() |
(package private) Item |
getItem() |
javax.xml.stream.XMLStreamReader |
getItemAsStream() |
java.lang.String |
getItemAsString() |
java.lang.String |
getItemAsString(java.util.Properties props) |
XQItemType |
getItemType() |
long |
getLong() |
org.w3c.dom.Node |
getNode() |
java.net.URI |
getNodeUri() |
java.lang.Object |
getObject() |
java.lang.Object |
getObject(XQCommonHandler handler) |
short |
getShort() |
XQWarning |
getWarnings() |
boolean |
instanceOf(XQItemType type) |
boolean |
isClosed() |
(package private) void |
setConnection(SaxonXQConnection connection) |
void |
writeItem(java.io.OutputStream os,
java.util.Properties props) |
void |
writeItem(java.io.Writer ow,
java.util.Properties props) |
void |
writeItemToSAX(org.xml.sax.ContentHandler saxHandler) |
public SaxonXQItem(Item item, Configuration config)
Configuration getConfiguration()
Item getItem()
void setConnection(SaxonXQConnection connection)
public void clearWarnings()
clearWarnings in interface XQResultItempublic XQConnection getConnection() throws XQException
getConnection in interface XQResultItemXQExceptionpublic XQWarning getWarnings() throws XQException
getWarnings in interface XQResultItemXQExceptionpublic void close()
throws XQException
close in interface XQItemXQExceptionpublic java.lang.String getAtomicValue()
throws XQException
getAtomicValue in interface XQItemAccessorXQExceptionpublic boolean getBoolean()
throws XQException
getBoolean in interface XQItemAccessorXQExceptionpublic byte getByte()
throws XQException
getByte in interface XQItemAccessorXQExceptionpublic double getDouble()
throws XQException
getDouble in interface XQItemAccessorXQExceptionpublic float getFloat()
throws XQException
getFloat in interface XQItemAccessorXQExceptionpublic int getInt()
throws XQException
getInt in interface XQItemAccessorXQExceptionpublic javax.xml.stream.XMLStreamReader getItemAsStream()
throws XQException
getItemAsStream in interface XQItemAccessorXQExceptionpublic java.lang.String getItemAsString()
throws XQException
getItemAsString in interface XQItemAccessorXQExceptionpublic java.lang.String getItemAsString(java.util.Properties props)
throws XQException
XQExceptionpublic XQItemType getItemType() throws XQException
getItemType in interface XQItemAccessorXQExceptionpublic long getLong()
throws XQException
getLong in interface XQItemAccessorXQExceptionpublic org.w3c.dom.Node getNode()
throws XQException
getNode in interface XQItemAccessorXQExceptionpublic java.net.URI getNodeUri()
throws XQException
getNodeUri in interface XQItemAccessorXQExceptionpublic java.lang.Object getObject()
throws XQException
getObject in interface XQItemAccessorXQExceptionpublic java.lang.Object getObject(XQCommonHandler handler) throws XQException
getObject in interface XQItemAccessorXQExceptionpublic short getShort()
throws XQException
getShort in interface XQItemAccessorXQExceptionpublic boolean instanceOf(XQItemType type) throws XQException
instanceOf in interface XQItemAccessorXQExceptionpublic void writeItem(java.io.OutputStream os,
java.util.Properties props)
throws XQException
writeItem in interface XQItemAccessorXQExceptionpublic void writeItem(java.io.Writer ow,
java.util.Properties props)
throws XQException
writeItem in interface XQItemAccessorXQExceptionpublic void writeItemToSAX(org.xml.sax.ContentHandler saxHandler)
throws XQException
writeItemToSAX in interface XQItemAccessorXQException