|
||||||||||
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
de.fraunhofer.ipsi.ipsixq.api.impl.XQResultSequenceImpl
public class XQResultSequenceImpl
Constructor Summary | |
---|---|
XQResultSequenceImpl(Sequence sequenceImpl)
|
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. |
boolean |
first()
Moves to the first item in the sequence. |
double |
getDouble()
Gets a double value. |
int |
getInt()
Gets an integer value. |
XQItem |
getItem()
Get the current item as an immutable XQItem object. |
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.lang.String |
getString()
Gets a string value. |
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 |
isFirst()
Checks if the current position at the first item in the sequence. |
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. |
Methods inherited from class de.fraunhofer.ipsi.ipsixq.api.impl.XQAbstractResultSequence |
---|
clearWarnings, close, getCachedItem, getCalendar, getConnection, getItemType, getLexicalValue, getNodeUri, getObject, getObject, getSequenceAsStream, getSequenceAsString, getSequenceAsString, getWarnings, getXMLStreamReader, instanceOf, isClosed, isLast, isOnItem, isScrollable, writeSAX, writeSequence, writeSequence, writeSequence, writeSequenceToSAX, writeSequenceToStream, writeXMLStream |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XQResultSequenceImpl(Sequence sequenceImpl)
Method Detail |
---|
public boolean absolute(int itempos) throws XQException
XQSequence
absolute
in interface XQSequence
absolute
in class XQAbstractResultSequence
XQException
public void afterLast() throws XQException
XQSequence
afterLast
in interface XQSequence
afterLast
in class XQAbstractResultSequence
XQException
public void beforeFirst() throws XQException
XQSequence
beforeFirst
in interface XQSequence
beforeFirst
in class XQAbstractResultSequence
XQException
public boolean first() throws XQException
XQSequence
first
in interface XQSequence
first
in class XQAbstractResultSequence
XQException
public boolean isAfterLast() throws XQException
XQSequence
isAfterLast
in interface XQSequence
isAfterLast
in class XQAbstractResultSequence
XQException
public boolean isBeforeFirst() throws XQException
XQSequence
isBeforeFirst
in interface XQSequence
isBeforeFirst
in class XQAbstractResultSequence
XQException
public boolean isFirst() throws XQException
XQSequence
isFirst
in interface XQSequence
isFirst
in class XQAbstractResultSequence
XQException
public boolean last() throws XQException
XQSequence
last
in interface XQSequence
last
in class XQAbstractResultSequence
XQException
public boolean next() throws XQException
XQSequence
next
in interface XQSequence
next
in class XQAbstractResultSequence
XQException
public boolean previous() throws XQException
XQSequence
previous
in interface XQSequence
previous
in class XQAbstractResultSequence
XQException
public boolean relative(int itempos) throws XQException
XQSequence
relative
in interface XQSequence
relative
in class XQAbstractResultSequence
XQException
public XQItem getItem() throws XQException
XQSequence
getItem
in interface XQSequence
getItem
in class XQAbstractResultSequence
XQException
public double getDouble() throws XQException
XQItemAccessor
getDouble
in interface XQItemAccessor
getDouble
in class XQAbstractResultSequence
XQException
public int getInt() throws XQException
XQItemAccessor
getInt
in interface XQItemAccessor
getInt
in class XQAbstractResultSequence
XQException
public long getLong() throws XQException
XQItemAccessor
getLong
in interface XQItemAccessor
getLong
in class XQAbstractResultSequence
XQException
public org.w3c.dom.Node getNode() throws XQException
XQItemAccessor
getNode
in interface XQItemAccessor
getNode
in class XQAbstractResultSequence
XQException
public java.lang.String getString() throws XQException
XQItemAccessor
getString
in interface XQItemAccessor
getString
in class XQAbstractResultSequence
XQException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |