|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dbxml.db.client.helpers.TextResultSetClient
TextResultSetClient
Constructor Summary | |
TextResultSetClient(CollectionClient col,
java.lang.String text,
java.lang.String style,
java.lang.String query)
|
Method Summary | |
void |
close()
close releases this ResultSet object's database resources immediately instead of waiting for this to happen when it is automatically closed. |
CollectionClient |
getCollection()
getCollection returns the top-level Collection context. |
int |
getCount()
getCount returns the number of records returned or modified by this query. |
java.lang.String |
getQueryString()
getQueryString returns the String that was used to create the Query instance. |
java.lang.String |
getQueryStyle()
getQueryStyle returns the QueryStyle (ex: XPath) for this Query instance. |
org.w3c.dom.Node |
getResult()
getResult returns the result as a DOM Node structure. |
java.lang.String |
getResultAsText()
getResultAsText returns the result as a Text String. |
CollectionClient |
getResultCollection()
getResultCollection returns the Collection context for the current result in the cursor. |
java.lang.String |
getResultKey()
getResultKey return the Key for the current result in the cursor. |
boolean |
next()
next moves the cursor down one object from its current position. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextResultSetClient(CollectionClient col, java.lang.String text, java.lang.String style, java.lang.String query)
Method Detail |
public CollectionClient getCollection() throws dbXMLException
ResultSetClient
getCollection
in interface ResultSetClient
dbXMLException
public java.lang.String getQueryStyle() throws dbXMLException
ResultSetClient
getQueryStyle
in interface ResultSetClient
dbXMLException
public java.lang.String getQueryString() throws dbXMLException
ResultSetClient
getQueryString
in interface ResultSetClient
dbXMLException
public boolean next() throws dbXMLException
ResultSetClient
next
in interface ResultSetClient
dbXMLException
public void close() throws dbXMLException
ResultSetClient
close
in interface ResultSetClient
dbXMLException
public int getCount() throws dbXMLException
ResultSetClient
getCount
in interface ResultSetClient
dbXMLException
public org.w3c.dom.Node getResult() throws dbXMLException
ResultSetClient
getResult
in interface ResultSetClient
dbXMLException
public java.lang.String getResultAsText() throws dbXMLException
ResultSetClient
getResultAsText
in interface ResultSetClient
dbXMLException
public CollectionClient getResultCollection() throws dbXMLException
ResultSetClient
getResultCollection
in interface ResultSetClient
dbXMLException
public java.lang.String getResultKey() throws dbXMLException
ResultSetClient
getResultKey
in interface ResultSetClient
dbXMLException
|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |