|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.retrieval.XMLDoc
A (document ID,xml document) pair.
| Field Summary | |
protected ProbDoc |
doc
The ID and weight of the document. |
protected org.w3c.dom.Document |
xml
The XML document. |
| Constructor Summary | |
XMLDoc()
Creates a new, empty instance. |
|
XMLDoc(ProbDoc doc,
org.w3c.dom.Document xml)
Creates a new instance. |
|
XMLDoc(java.lang.String docID,
org.w3c.dom.Document xml)
Creates a new instance. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
|
ProbDoc |
getProbDoc()
Returns the ID of the document. |
org.w3c.dom.Document |
getXML()
Returns the XML document. |
int |
hashCode()
|
void |
setProbDoc(ProbDoc doc)
Sets the ID and weight of the document. |
void |
setXML(org.w3c.dom.Document xml)
Sets the XML document. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected ProbDoc doc
protected org.w3c.dom.Document xml
| Constructor Detail |
public XMLDoc()
public XMLDoc(java.lang.String docID,
org.w3c.dom.Document xml)
docID - ID of the documentxml - XML content
public XMLDoc(ProbDoc doc,
org.w3c.dom.Document xml)
doc - documentxml - XML content| Method Detail |
public ProbDoc getProbDoc()
public void setProbDoc(ProbDoc doc)
doc - ID and weight of the document.public org.w3c.dom.Document getXML()
public void setXML(org.w3c.dom.Document xml)
xml - XML documentpublic boolean equals(java.lang.Object obj)
public int hashCode()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||