|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.serviceclients.remotesearch.RemoteResultDoc
public class RemoteResultDoc
This class wraps the individual items that are returned by RemoteSearcher.searchDocs(String)
. It is patterned after the ResultDoc
class.
Constructor Summary | |
---|---|
RemoteResultDoc(Element record,
RemoteSearcher rs)
Construct a RemoteResultDoc from a MatchingRecord element (of the reponse from the UrlCheck Web Service) |
|
RemoteResultDoc(String id,
String url,
String collection,
RemoteSearcher rs)
Constructor for the RemoteResultDoc object. |
Method Summary | |
---|---|
String |
getCollection()
Gets the collection attribute of the RemoteResultDoc object |
ADNItemDocReader |
getDocReader()
Gets the docReader attribute of the RemoteResultDoc object which supports display of RemoteResultDoc instances via JSP (see ADNItemDocReader ). |
String |
getDoctype()
Gets the doctype attribute of the RemoteResultDoc object (hardcoded to "adn") |
GetRecordResponse |
getDocument()
Gets the document attribute of the RemoteResultDoc object. |
String |
getId()
Gets the id attribute of the RemoteResultDoc object (identifying the resource within DDS) |
String |
getReaderClass()
Gets the readerClass attribute of the RemoteResultDoc object |
String |
getUrl()
Gets the url attribute of the RemoteResultDoc object, which pionts to the resource on the web. |
String |
toString()
A printable representation - used for debugging |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RemoteResultDoc(String id, String url, String collection, RemoteSearcher rs)
RemoteSearcher.searchDocs(java.lang.String)
)
id
- id of itemurl
- url of itemcollection
- collection label of itemrs
- instance of RemoteSearcher
public RemoteResultDoc(Element record, RemoteSearcher rs)
record
- matching record Element
rs
- instance of RemoteSearcher
Method Detail |
---|
public String getId()
public final String getDoctype()
public final String getReaderClass()
public ADNItemDocReader getDocReader()
ADNItemDocReader
).
public GetRecordResponse getDocument()
RemoteSearcher
instance and then
cached for future access.
public String getUrl()
public String getCollection()
public String toString()
toString
in class Object
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |