|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.control.csw.inbound202.DiscoveryResponse
public class DiscoveryResponse
Provides functionality for constructing the response to a CSW request.
| Constructor Summary | |
|---|---|
protected |
DiscoveryResponse(RetrievalOptions retrievalOptions)
Default constructor. |
protected |
DiscoveryResponse(String cswResponse)
Overloaded constructor. |
| Method Summary | |
|---|---|
protected void |
appendDiscoveredRecords(Element parent,
DiscoveryQuery query)
Creates and appends the discovered record elements to the XML document. |
protected void |
appendSearchResultsElement(Element parent,
DiscoveryQuery query)
Creates and appends the SearchResults element to the XML document. |
String |
getCswResponse()
Gets the CSW response. |
String |
getOutputFormat()
Gets the media type of the response message. |
protected Document |
getResponseDom()
Gets the XML response document under construction. |
protected Element |
newResponseDom(String rootName)
Creates a new XML document for response construction. |
protected void |
onComplete()
Serializes the XML response document to a string when construction is complete. |
protected void |
setCswResponse(String response)
Sets the CSW response. |
protected String |
toIso8601(Timestamp timestamp)
Converts a Timestamp to ISO-8601 format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected DiscoveryResponse(RetrievalOptions retrievalOptions)
protected DiscoveryResponse(String cswResponse)
| Method Detail |
|---|
public String getCswResponse()
protected void setCswResponse(String response)
response - the CSW responsepublic String getOutputFormat()
protected Document getResponseDom()
protected void appendDiscoveredRecords(Element parent,
DiscoveryQuery query)
parent - the parent element that will hold the recordsquery - the discovery query
protected void appendSearchResultsElement(Element parent,
DiscoveryQuery query)
parent - the parent element that will hold the results (typically the root)query - the discovery query
protected Element newResponseDom(String rootName)
throws DiscoveryException
rootName - the name of the root element
DiscoveryException - if the document fails to create
protected void onComplete()
throws DiscoveryException
DiscoveryException - if the document fails to serializeprotected String toIso8601(Timestamp timestamp)
timestamp - the timestamp
|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||