|
||||||||||
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
public class XQAbstractResultItem
Constructor Summary | |
---|---|
XQAbstractResultItem()
|
Method Summary | |
---|---|
void |
clearWarnings()
Clears the list of warnings associated with this result item. |
void |
close()
Close the item and release all the resources associated with this item. |
java.util.Calendar |
getCalendar()
Gets a calendar value. |
XQConnection |
getConnection()
Gets the XQuery Connection associated with this result item. |
double |
getDouble()
Gets a double value. |
int |
getInt()
Gets an integer value. |
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. |
java.lang.String |
getString()
Gets a string value. |
XQWarning |
getWarnings()
Gets the first warning in the list of warnings associated with this result item. |
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 |
isClosed()
Checks if the item is closed. |
void |
writeSAX(org.xml.sax.ContentHandler saxhdlr)
Writes the current item to the SAX stream. |
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 XQAbstractResultItem()
Method Detail |
---|
public void clearWarnings()
XQResultItem
clearWarnings
in interface XQResultItem
public XQConnection getConnection() throws XQException
XQResultItem
getConnection
in interface XQResultItem
XQException
public XQWarning getWarnings() throws XQException
XQResultItem
getWarnings
in interface XQResultItem
XQException
public void close() throws XQException
XQItem
close
in interface XQItem
XQException
public boolean isClosed()
XQItem
isClosed
in interface XQItem
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 |