|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.nist.nlpir.irf.proxy.VirtualProxy
|
+--gov.nist.nlpir.irf.document.ProxyDocument
Parent class of all IR document proxies.
| Inner classes inherited from class gov.nist.nlpir.irf.proxy.VirtualProxy |
VirtualProxy.IMP_Entry |
| Fields inherited from class gov.nist.nlpir.irf.proxy.VirtualProxy |
broker,
handles,
inMemoryProxiesByOid,
iS,
objectIdentifier,
realObject,
serialVersionUID |
| Constructor Summary | |
ProxyDocument()
|
|
| Method Summary | |
void |
addHTML(java.lang.StringBuffer baseString,
int unused,
boolean form)
Adds HTML to the given string buffer. |
boolean |
equals(java.lang.Object o)
Tests whether two Documents have the same content |
java.util.Vector |
getFeatureNames()
Gets feature names of document. |
java.util.Vector |
getFeatureTypes()
Gets feature types of document. |
java.util.Vector |
getFeatureValues()
Gets the values of the indexable features. |
VirtualProxy |
getFirstInstance()
Enforce uniqueness of proxies by checking to see if a proxy for this IR document already exists and returning that reference if it exists; and see that analogous processing is carried out for the contained proxy data elements. |
java.util.Vector |
getIndexingFeatures(IndexingModalities im,
ProxyDocument proxyDoc)
Returns indexing features as a Vector of Vectors: one inner Vector for each modality unit. |
IndexingModalities |
getIndexingModalities()
Gets indexing modalities for this document. |
abstract ProxyDocument |
getQueryDocument()
Creates an IR document that can be used as a query. |
int |
hashCode()
Returns a hashcode for an Document |
void |
index(IndexingModalities im,
ProxyDocument proxyDoc)
Indexes this document. |
void |
makeLightweight()
Makes this proxy lightweight (cut the link to its real object) and sees that the same is done for the contained proxy data elements. |
void |
makePersistent()
Passes the message on to each component object which is a proxy - telling it to make itself persistent. |
java.util.Vector |
makeResultsForDocMatchingQuery(QueryRep query,
java.util.Vector collPartialResults)
Makes a complete result for documents matching the supplied query from the partial results supplied. |
void |
present()
Displays document in ascii form to screen |
void |
presentBrief()
Displays document on one line to screen |
RetrievalResult |
retrieve(RetrievalModalities rm,
ProxyDocument proxyDoc)
Returns this document as a query. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public ProxyDocument()
| Method Detail |
public java.util.Vector getFeatureNames()
public java.util.Vector getFeatureTypes()
public java.util.Vector getFeatureValues()
public void present()
public void presentBrief()
public void index(IndexingModalities im,
ProxyDocument proxyDoc)
im - Indexing Modality list .
public RetrievalResult retrieve(RetrievalModalities rm,
ProxyDocument proxyDoc)
rm - Retrieval Modalities
public java.util.Vector getIndexingFeatures(IndexingModalities im,
ProxyDocument proxyDoc)
im - Indexing Modalitiespublic IndexingModalities getIndexingModalities()
public void addHTML(java.lang.StringBuffer baseString,
int unused,
boolean form)
baseString - The StringBuffer the HTML text will be appended to.unused - Unused.form - Boolean set to true if you wish HTML document to be
a form document.
public java.util.Vector makeResultsForDocMatchingQuery(QueryRep query,
java.util.Vector collPartialResults)
query - The query to match.collPR - A collection of partial Results.public void makePersistent()
public int hashCode()
public boolean equals(java.lang.Object o)
public VirtualProxy getFirstInstance()
public abstract ProxyDocument getQueryDocument()
public void makeLightweight()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||