public class Statistic extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Statistic() |
Statistic(Node root)
Instantiates an Statistic instance from an Statistic structure in DOM node format.
|
Statistic(String url,
long time)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getTime()
Gets the search time
|
String |
getURL()
Gets the URL string.
|
static void |
main(String[] args) |
void |
setTime(long time)
Sets the search time
|
Node |
toXML(Document doc)
doc The org.w3c.dom.Document object.
|
public Statistic()
public Statistic(String url, long time)
url
- The server's URL.time
- The search time used by the server indicted by url.public Statistic(Node root)
root
- The DOM node.public Node toXML(Document doc) throws DOMException
DOMException
public String getURL()
public long getTime()
public void setTime(long time)
Copyright © 1999–2017 Apache OODT. All rights reserved.