|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.lehigh.swat.obione.ResultSet
public class ResultSet
| Field Summary | |
|---|---|
private java.util.Vector |
allResults
|
private java.lang.String[] |
variables
|
| Constructor Summary | |
|---|---|
ResultSet(java.lang.String[] vars)
|
|
| Method Summary | |
|---|---|
void |
addResult(java.lang.String[] result)
Add a new set of bindings to the ResultSet. |
java.lang.String |
getBinding(int i,
int j)
Return the jth bind in the ith set of bindings. |
java.lang.String[] |
getResult(int i)
Return the ith set of bindings. |
java.lang.String |
getVariable(int i)
Return the name of the ith variable in the result set. |
java.lang.String[] |
getVariables()
Return an array of strings containing the names of the variables in order. |
java.lang.String |
toString()
|
java.lang.String |
toXML()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String[] variables
private java.util.Vector allResults
| Constructor Detail |
|---|
public ResultSet(java.lang.String[] vars)
| Method Detail |
|---|
public void addResult(java.lang.String[] result)
public java.lang.String[] getResult(int i)
public java.lang.String getBinding(int i,
int j)
public java.lang.String getVariable(int i)
public java.lang.String[] getVariables()
public java.lang.String toXML()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||