|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.iphrase.runtime.query.result.QueryResult
Represent the response from Query.execute()
.
Constructor Summary | |
QueryResult(com.iphrase.www._2003._11.oneStep.encodedTypes.SearchResult result)
Construct a QueryResult from a proxy query result struct (from Axis WSDL2Java). |
Method Summary | |
java.util.Hashtable |
getAttributes()
Get the attributes hash table. |
ResultSet[] |
getDirectResultSets()
Get any direct nav or direct answer (presentation rank > 1) result sets. |
java.util.Hashtable |
getHooks()
Get the hooks hash table. |
ResultSet |
getMainResultSet()
Get the main (presentation rank == 1) result set. |
ResultSet[] |
getOtherResultSets()
Get any other (presentation rank > 1) result sets that are neither main nor direct. |
java.lang.String |
getRedirectLocation()
The URL to redirect to, or empty string if no redirection is required. |
ResultSet[] |
getResultSets()
Get all of the ResultSet instances. |
java.lang.String[] |
getSourceOptions()
Get the source options for this result set. |
int |
getSourceSelected()
Get the index of the currently selected source option. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QueryResult(com.iphrase.www._2003._11.oneStep.encodedTypes.SearchResult result) throws WebServiceError
result
- proxy class valueMethod Detail |
public ResultSet getMainResultSet()
getResultSets()
.
Currently, there is always one and only one rank 1 result set. If future versions allow more than one, this method will return null.
ResultSet
main result set.public ResultSet[] getDirectResultSets()
getResultSets()
.ResultSet
arraypublic ResultSet[] getOtherResultSets()
getResultSets()
.ResultSet
arraypublic ResultSet[] getResultSets()
ResultSet
instances.ResultSet
arraypublic java.lang.String[] getSourceOptions()
Feature
array or null if there are no
source options for this result setpublic int getSourceSelected()
int
option index, or -1 if no option is selectedgetSourceOptions()
public java.util.Hashtable getHooks()
String
.Hashtable
key/value pairs of custom data set by hookspublic java.util.Hashtable getAttributes()
String
.Hashtable
key/value pairs of query result attributespublic java.lang.String getRedirectLocation()
|
© Copyright 2005, 2006. IBM Corporation. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |