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