|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XQSequence
Method Summary | |
---|---|
boolean |
absolute(int itempos)
Moves the XQSequence's position to the given item number in this object. |
void |
afterLast()
Move to the position after the last item. |
void |
beforeFirst()
Moves to the position before the first item. |
void |
close()
Closes the sequence and frees all resources associated with this sequence. |
boolean |
first()
Moves to the first item in the sequence. |
XQItem |
getCachedItem()
Get the current item as an immutable cached item object. |
XQItem |
getItem()
Get the current item as an immutable XQItem object. |
javax.xml.stream.XMLStreamReader |
getSequenceAsStream()
Read the entire sequence starting from the current position as an XMLStreamReader object. |
java.lang.String |
getSequenceAsString()
Converts the sequence into a string (of XML elements or document). |
java.lang.String |
getSequenceAsString(java.util.Properties props)
Converts the sequence into a string (of XML elements or document). |
boolean |
isAfterLast()
Checks if the current position is after the last item in the sequence. |
boolean |
isBeforeFirst()
Checks if the current position before the first item in the sequence. |
boolean |
isClosed()
Checks if the sequence is closed. |
boolean |
isFirst()
Checks if the current position at the first item in the sequence. |
boolean |
isLast()
Checks if the current position at the last item in the sequence. |
boolean |
isOnItem()
Check if the sequence is positioned on an item or not. |
boolean |
isScrollable()
Checks if the sequence is scrollable. |
boolean |
last()
Moves to the last item in the sequence. |
boolean |
next()
Moves to the next item in the sequence. |
boolean |
previous()
Moves to the previous item in the sequence |
boolean |
relative(int itempos)
Moves the cursor a relative number of items, either positive or negative. |
void |
writeSequence(java.io.OutputStream os,
java.util.Properties props)
Writes the entire sequence starting from the current position to the output Writer. |
void |
writeSequence(java.io.Writer ow)
Writes the entire sequence starting from the current position to the output Writer. |
void |
writeSequence(java.io.Writer ow,
java.util.Properties props)
Writes the entire sequence starting from the current position to the output Writer. |
void |
writeSequenceToSAX(org.xml.sax.ContentHandler saxhdlr)
Writes the entire sequence starting from the current position to a SAX handler. |
void |
writeSequenceToStream(javax.xml.stream.XMLStreamWriter writer)
Writes the entire sequence starting from the current position to an XMLStreamWriter object. |
Methods inherited from interface javax.xml.xquery.XQItemAccessor |
---|
getCalendar, getDouble, getInt, getItemType, getLexicalValue, getLong, getNode, getNodeUri, getObject, getObject, getString, getXMLStreamReader, instanceOf, writeSAX, writeXMLStream |
Method Detail |
---|
boolean absolute(int itempos) throws XQException
XQException
void afterLast() throws XQException
XQException
void beforeFirst() throws XQException
XQException
void close() throws XQException
XQException
boolean first() throws XQException
XQException
XQItem getCachedItem() throws XQException
XQException
XQItem getItem() throws XQException
XQException
javax.xml.stream.XMLStreamReader getSequenceAsStream() throws XQException
XQException
java.lang.String getSequenceAsString() throws XQException
XQException
java.lang.String getSequenceAsString(java.util.Properties props) throws XQException
XQException
boolean isAfterLast() throws XQException
XQException
boolean isBeforeFirst() throws XQException
XQException
boolean isClosed()
boolean isFirst() throws XQException
XQException
boolean isLast() throws XQException
XQException
boolean isOnItem() throws XQException
XQException
boolean isScrollable() throws XQException
XQException
boolean last() throws XQException
XQException
boolean next() throws XQException
XQException
boolean previous() throws XQException
XQException
boolean relative(int itempos) throws XQException
XQException
void writeSequence(java.io.OutputStream os, java.util.Properties props) throws XQException
XQException
void writeSequence(java.io.Writer ow) throws XQException
XQException
void writeSequence(java.io.Writer ow, java.util.Properties props) throws XQException
XQException
void writeSequenceToSAX(org.xml.sax.ContentHandler saxhdlr) throws XQException
XQException
void writeSequenceToStream(javax.xml.stream.XMLStreamWriter writer) throws XQException
XQException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |