|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fraunhofer.ipsi.ipsixq.api.impl.XQAbstractResultItem
de.fraunhofer.ipsi.ipsixq.api.impl.XQResultItemImpl
public class XQResultItemImpl
Constructor Summary | |
---|---|
XQResultItemImpl(Item item)
|
Method Summary | |
---|---|
double |
getDouble()
Gets a double value. |
int |
getInt()
Gets an integer value. |
XQItemType |
getItemType()
Gets the type of the 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.lang.String |
getString()
Gets a string value. |
boolean |
instanceOf(XQItemType type)
Checks if the item is an instance of the given type (exact or subset of given type). |
Methods inherited from class de.fraunhofer.ipsi.ipsixq.api.impl.XQAbstractResultItem |
---|
clearWarnings, close, getCalendar, getConnection, getLexicalValue, getNodeUri, getObject, getObject, getWarnings, getXMLStreamReader, isClosed, writeSAX, writeXMLStream |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XQResultItemImpl(Item item)
Method Detail |
---|
public double getDouble() throws XQException
XQItemAccessor
getDouble
in interface XQItemAccessor
getDouble
in class XQAbstractResultItem
XQException
public int getInt() throws XQException
XQItemAccessor
getInt
in interface XQItemAccessor
getInt
in class XQAbstractResultItem
XQException
public long getLong() throws XQException
XQItemAccessor
getLong
in interface XQItemAccessor
getLong
in class XQAbstractResultItem
XQException
public java.lang.String getString() throws XQException
XQItemAccessor
getString
in interface XQItemAccessor
getString
in class XQAbstractResultItem
XQException
public org.w3c.dom.Node getNode() throws XQException
XQItemAccessor
getNode
in interface XQItemAccessor
getNode
in class XQAbstractResultItem
XQException
public XQItemType getItemType() throws XQException
XQItemAccessor
getItemType
in interface XQItemAccessor
getItemType
in class XQAbstractResultItem
XQException
public boolean instanceOf(XQItemType type) throws XQException
XQItemAccessor
instanceOf
in interface XQItemAccessor
instanceOf
in class XQAbstractResultItem
XQException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |