public class QueryResult extends Object implements Serializable, Cloneable, Documentable
Constructor and Description |
---|
QueryResult()
Create empty results.
|
QueryResult(List list)
Create results from the given list of results.
|
QueryResult(Node node)
Create results from an XML node.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear out any results.
|
Object |
clone() |
boolean |
equals(Object obj) |
List |
getList()
Get the list of results.
|
long |
getSize() |
int |
hashCode() |
void |
setRetriever(Retriever retriever) |
String |
toString() |
Node |
toXML(Document doc)
Document (aka serialize) this object into an XML DOM node.
|
public QueryResult()
public QueryResult(List list)
list
- List of Result
s.public QueryResult(Node node)
node
- The <queryResultSet> node.public void clear()
public Node toXML(Document doc) throws DOMException
Documentable
toXML
in interface Documentable
doc
- What document will own the node.DOMException
- If an error occurs while creating the DOM structure.public void setRetriever(Retriever retriever)
public long getSize()
Copyright © 1999–2017 Apache OODT. All rights reserved.