|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fraunhofer.ipsi.ipsixq.api.impl.XQAbstractResultSequence
public abstract class XQAbstractResultSequence
Constructor Summary | |
---|---|
XQAbstractResultSequence()
|
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 |
clearWarnings()
Clears the list of warnings associated with this result sequence. |
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. |
java.util.Calendar |
getCalendar()
Gets a calendar value. |
XQConnection |
getConnection()
Gets the XQuery Connection associated with this result sequence. |
double |
getDouble()
Gets a double value. |
int |
getInt()
Gets an integer value. |
XQItem |
getItem()
Get the current item as an immutable XQItem object. |
XQItemType |
getItemType()
Gets the type of the the item. |
java.lang.String |
getLexicalValue()
Gets the lexical string representation of the item. |
long |
getLong()
Gets a long value. |
org.w3c.dom.Node |
getNode()
Gets the item as a DOM node (if the current item is known to be a node). |
java.net.URI |
getNodeUri()
Gets the URI associated with the content of this item. |
java.lang.Object |
getObject()
Returns a generic java object corresponding to the XQuery type. |
java.lang.Object |
getObject(XQCommonHandler hdlr)
Returns a java object corresponding to the XQuery type using the XQCommonhandler passed in. |
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). |
java.lang.String |
getString()
Gets a string value. |
XQWarning |
getWarnings()
Gets the first warning in the list of warnings associated with this result sequence. |
javax.xml.stream.XMLStreamReader |
getXMLStreamReader()
Gets the current item as an XMLStreamReader object. |
boolean |
instanceOf(XQItemType type)
Checks if the item is an instance of the given type (exact or subset of given type). |
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 |
writeSAX(org.xml.sax.ContentHandler saxhdlr)
Writes the current item to the SAX stream. |
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. |
void |
writeXMLStream(javax.xml.stream.XMLStreamWriter writer)
Writes the current item to the XMLStreamWriter stream. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XQAbstractResultSequence()
Method Detail |
---|
public void clearWarnings()
XQResultSequence
clearWarnings
in interface XQResultSequence
public XQConnection getConnection() throws XQException
XQResultSequence
getConnection
in interface XQResultSequence
XQException
public XQWarning getWarnings() throws XQException
XQResultSequence
getWarnings
in interface XQResultSequence
XQException
public boolean absolute(int itempos) throws XQException
XQSequence
absolute
in interface XQSequence
XQException
public void afterLast() throws XQException
XQSequence
afterLast
in interface XQSequence
XQException
public void beforeFirst() throws XQException
XQSequence
beforeFirst
in interface XQSequence
XQException
public void close() throws XQException
XQSequence
close
in interface XQSequence
XQException
public boolean first() throws XQException
XQSequence
first
in interface XQSequence
XQException
public XQItem getCachedItem() throws XQException
XQSequence
getCachedItem
in interface XQSequence
XQException
public XQItem getItem() throws XQException
XQSequence
getItem
in interface XQSequence
XQException
public javax.xml.stream.XMLStreamReader getSequenceAsStream() throws XQException
XQSequence
getSequenceAsStream
in interface XQSequence
XQException
public java.lang.String getSequenceAsString() throws XQException
XQSequence
getSequenceAsString
in interface XQSequence
XQException
public java.lang.String getSequenceAsString(java.util.Properties props) throws XQException
XQSequence
getSequenceAsString
in interface XQSequence
XQException
public boolean isAfterLast() throws XQException
XQSequence
isAfterLast
in interface XQSequence
XQException
public boolean isBeforeFirst() throws XQException
XQSequence
isBeforeFirst
in interface XQSequence
XQException
public boolean isClosed()
XQSequence
isClosed
in interface XQSequence
public boolean isFirst() throws XQException
XQSequence
isFirst
in interface XQSequence
XQException
public boolean isLast() throws XQException
XQSequence
isLast
in interface XQSequence
XQException
public boolean isOnItem() throws XQException
XQSequence
isOnItem
in interface XQSequence
XQException
public boolean isScrollable() throws XQException
XQSequence
isScrollable
in interface XQSequence
XQException
public boolean last() throws XQException
XQSequence
last
in interface XQSequence
XQException
public boolean next() throws XQException
XQSequence
next
in interface XQSequence
XQException
public boolean previous() throws XQException
XQSequence
previous
in interface XQSequence
XQException
public boolean relative(int itempos) throws XQException
XQSequence
relative
in interface XQSequence
XQException
public void writeSequence(java.io.OutputStream os, java.util.Properties props) throws XQException
XQSequence
writeSequence
in interface XQSequence
XQException
public void writeSequence(java.io.Writer ow) throws XQException
XQSequence
writeSequence
in interface XQSequence
XQException
public void writeSequence(java.io.Writer ow, java.util.Properties props) throws XQException
XQSequence
writeSequence
in interface XQSequence
XQException
public void writeSequenceToSAX(org.xml.sax.ContentHandler saxhdlr) throws XQException
XQSequence
writeSequenceToSAX
in interface XQSequence
XQException
public void writeSequenceToStream(javax.xml.stream.XMLStreamWriter writer) throws XQException
XQSequence
writeSequenceToStream
in interface XQSequence
XQException
public java.util.Calendar getCalendar() throws XQException
XQItemAccessor
getCalendar
in interface XQItemAccessor
XQException
public double getDouble() throws XQException
XQItemAccessor
getDouble
in interface XQItemAccessor
XQException
public int getInt() throws XQException
XQItemAccessor
getInt
in interface XQItemAccessor
XQException
public XQItemType getItemType() throws XQException
XQItemAccessor
getItemType
in interface XQItemAccessor
XQException
public java.lang.String getLexicalValue() throws XQException
XQItemAccessor
getLexicalValue
in interface XQItemAccessor
XQException
public long getLong() throws XQException
XQItemAccessor
getLong
in interface XQItemAccessor
XQException
public org.w3c.dom.Node getNode() throws XQException
XQItemAccessor
getNode
in interface XQItemAccessor
XQException
public java.net.URI getNodeUri() throws XQException
XQItemAccessor
getNodeUri
in interface XQItemAccessor
XQException
public java.lang.Object getObject() throws XQException
XQItemAccessor
getObject
in interface XQItemAccessor
XQException
public java.lang.Object getObject(XQCommonHandler hdlr) throws XQException
XQItemAccessor
getObject
in interface XQItemAccessor
XQException
public java.lang.String getString() throws XQException
XQItemAccessor
getString
in interface XQItemAccessor
XQException
public javax.xml.stream.XMLStreamReader getXMLStreamReader() throws XQException
XQItemAccessor
getXMLStreamReader
in interface XQItemAccessor
XQException
public boolean instanceOf(XQItemType type) throws XQException
XQItemAccessor
instanceOf
in interface XQItemAccessor
XQException
public void writeSAX(org.xml.sax.ContentHandler saxhdlr) throws XQException
XQItemAccessor
writeSAX
in interface XQItemAccessor
XQException
public void writeXMLStream(javax.xml.stream.XMLStreamWriter writer) throws XQException
XQItemAccessor
writeXMLStream
in interface XQItemAccessor
XQException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |