public class SaxonXQForwardSequence extends java.lang.Object implements XQResultSequence
| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
closed |
(package private) int |
position |
| Modifier | Constructor and Description |
|---|---|
protected |
SaxonXQForwardSequence(SequenceIterator iterator,
SaxonXQConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
absolute(int itempos) |
void |
afterLast() |
void |
beforeFirst() |
void |
clearWarnings() |
void |
close() |
int |
count() |
boolean |
first() |
java.lang.String |
getAtomicValue() |
boolean |
getBoolean() |
byte |
getByte() |
(package private) SequenceIterator |
getCleanIterator() |
XQConnection |
getConnection() |
double |
getDouble() |
float |
getFloat() |
int |
getInt() |
XQItem |
getItem() |
javax.xml.stream.XMLStreamReader |
getItemAsStream() |
java.lang.String |
getItemAsString() |
XQItemType |
getItemType() |
long |
getLong() |
org.w3c.dom.Node |
getNode() |
java.net.URI |
getNodeUri() |
java.lang.Object |
getObject() |
java.lang.Object |
getObject(XQCommonHandler handler) |
int |
getPosition() |
javax.xml.stream.XMLStreamReader |
getSequenceAsStream() |
java.lang.String |
getSequenceAsString(java.util.Properties props) |
short |
getShort() |
XQWarning |
getWarnings() |
boolean |
instanceOf(XQItemType type) |
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
boolean |
isClosed() |
boolean |
isFirst() |
boolean |
isLast() |
boolean |
isOnItem() |
boolean |
isScrollable() |
boolean |
last() |
boolean |
next() |
boolean |
previous() |
boolean |
relative(int itempos) |
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) |
void |
writeSequence(java.io.OutputStream os,
java.util.Properties props) |
void |
writeSequence(java.io.Writer ow,
java.util.Properties props) |
void |
writeSequenceToSAX(org.xml.sax.ContentHandler saxHandler) |
protected SaxonXQForwardSequence(SequenceIterator iterator, SaxonXQConnection connection)
SequenceIterator getCleanIterator() throws XPathException
XPathExceptionpublic void clearWarnings()
clearWarnings in interface XQResultSequencepublic XQConnection getConnection()
getConnection in interface XQResultSequencepublic XQWarning getWarnings()
getWarnings in interface XQResultSequencepublic 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 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 XQItemAccessorXQExceptionpublic boolean absolute(int itempos)
throws XQException
absolute in interface XQSequenceXQExceptionpublic void afterLast()
throws XQException
afterLast in interface XQSequenceXQExceptionpublic void beforeFirst()
throws XQException
beforeFirst in interface XQSequenceXQExceptionpublic void close()
throws XQException
close in interface XQSequenceXQExceptionpublic int count()
throws XQException
count in interface XQSequenceXQExceptionpublic boolean first()
throws XQException
first in interface XQSequenceXQExceptionpublic XQItem getItem() throws XQException
getItem in interface XQSequenceXQExceptionpublic int getPosition()
throws XQException
getPosition in interface XQSequenceXQExceptionpublic javax.xml.stream.XMLStreamReader getSequenceAsStream()
throws XQException
getSequenceAsStream in interface XQSequenceXQExceptionpublic java.lang.String getSequenceAsString(java.util.Properties props)
throws XQException
getSequenceAsString in interface XQSequenceXQExceptionpublic boolean isAfterLast()
throws XQException
isAfterLast in interface XQSequenceXQExceptionpublic boolean isBeforeFirst()
throws XQException
isBeforeFirst in interface XQSequenceXQExceptionpublic boolean isClosed()
isClosed in interface XQSequencepublic boolean isFirst()
throws XQException
isFirst in interface XQSequenceXQExceptionpublic boolean isLast()
throws XQException
isLast in interface XQSequenceXQExceptionpublic boolean isOnItem()
throws XQException
isOnItem in interface XQSequenceXQExceptionpublic boolean isScrollable()
throws XQException
isScrollable in interface XQSequenceXQExceptionpublic boolean last()
throws XQException
last in interface XQSequenceXQExceptionpublic boolean next()
throws XQException
next in interface XQSequenceXQExceptionpublic boolean previous()
throws XQException
previous in interface XQSequenceXQExceptionpublic boolean relative(int itempos)
throws XQException
relative in interface XQSequenceXQExceptionpublic void writeSequence(java.io.OutputStream os,
java.util.Properties props)
throws XQException
writeSequence in interface XQSequenceXQExceptionpublic void writeSequence(java.io.Writer ow,
java.util.Properties props)
throws XQException
writeSequence in interface XQSequenceXQExceptionpublic void writeSequenceToSAX(org.xml.sax.ContentHandler saxHandler)
throws XQException
writeSequenceToSAX in interface XQSequenceXQException