|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XQCachedSequence
Method Summary | |
---|---|
int |
count()
Returns a number indicating the number of items in the sequence. |
int |
getPosition()
Gets the current cursor position. |
void |
InsertBinary(byte[] bytes,
XQItemType type)
Inserts a binary value after the current position. |
void |
InsertDate(java.util.Calendar date,
XQItemType type)
Inserts a date value after the current position. |
void |
InsertInt(int intval,
XQItemType type)
Inserts an integer value after the current position. |
void |
InsertItem(XQItem item)
Inserts the given item after the current position. |
void |
InsertLong(long longval,
XQItemType type)
Inserts a long value after the current position. |
void |
InsertNode(org.w3c.dom.Node dom,
XQItemType type)
Inserts the DOM node after the current position. |
void |
InsertObject(java.lang.Object objval,
XQItemType type)
Inserts an java object after the current position. |
void |
insertSequence(XQSequence seq)
Appends the cached sequence with the items from the input sequence. |
void |
insertString(java.lang.String strval,
XQItemType type)
Inserts a string value after the current position After the insertion, the cursor is positioned to be after the newly inserted item, but before the next item. |
void |
insertXMLStream(javax.xml.stream.XMLStreamReader reader,
XQItemType type)
Inserts a node using the XMLStreamReader. |
void |
remove()
Removes the item at the current cursor position. |
void |
replaceWithByte(byte[] bytes,
XQItemType type)
Replace the current item with a binary value. |
void |
replaceWithDate(java.util.Calendar dateval,
XQItemType type)
Replace the current item with a date value. |
void |
replaceWithInt(int intval,
XQItemType type)
Replace the current item with an integer value. |
void |
replaceWithItem(XQItem item)
Replace the current item with the given item. |
void |
replaceWithLong(long longval,
XQItemType type)
Replace the current item with a long value. |
void |
replaceWithNode(org.w3c.dom.Node dom,
XQItemType type)
Replace the current item with a node. |
void |
replaceWithObject(java.lang.Object objval,
XQItemType type)
Replace the current item with an object value. |
void |
replaceWithReader(javax.xml.stream.XMLStreamReader reader,
XQItemType type)
Replace the current item with a node using the reader. |
void |
replaceWithString(java.lang.String strval,
XQItemType type)
Replace the current item with a string value. |
Methods inherited from interface javax.xml.xquery.XQSequence |
---|
absolute, afterLast, beforeFirst, close, first, getCachedItem, getItem, getSequenceAsStream, getSequenceAsString, getSequenceAsString, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, isOnItem, isScrollable, last, next, previous, relative, writeSequence, writeSequence, writeSequence, writeSequenceToSAX, writeSequenceToStream |
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 |
---|
int count() throws XQException
XQException
int getPosition() throws XQException
XQException
void InsertBinary(byte[] bytes, XQItemType type) throws XQException
XQException
void InsertDate(java.util.Calendar date, XQItemType type) throws XQException
XQException
void InsertInt(int intval, XQItemType type) throws XQException
XQException
void InsertItem(XQItem item) throws XQException
XQException
void InsertLong(long longval, XQItemType type) throws XQException
XQException
void InsertNode(org.w3c.dom.Node dom, XQItemType type) throws XQException
XQException
void InsertObject(java.lang.Object objval, XQItemType type) throws XQException
XQException
void insertSequence(XQSequence seq) throws XQException
XQException
void insertString(java.lang.String strval, XQItemType type) throws XQException
XQException
void insertXMLStream(javax.xml.stream.XMLStreamReader reader, XQItemType type) throws XQException
XQException
void remove() throws XQException
XQException
void replaceWithByte(byte[] bytes, XQItemType type) throws XQException
XQException
void replaceWithDate(java.util.Calendar dateval, XQItemType type) throws XQException
XQException
void replaceWithInt(int intval, XQItemType type) throws XQException
XQException
void replaceWithItem(XQItem item) throws XQException
XQException
void replaceWithLong(long longval, XQItemType type) throws XQException
XQException
void replaceWithNode(org.w3c.dom.Node dom, XQItemType type) throws XQException
XQException
void replaceWithObject(java.lang.Object objval, XQItemType type) throws XQException
XQException
void replaceWithReader(javax.xml.stream.XMLStreamReader reader, XQItemType type) throws XQException
XQException
void replaceWithString(java.lang.String strval, XQItemType type) throws XQException
XQException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |