|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.server.csw.provider.components.OperationResponse
public class OperationResponse
Represents an operation response.
Constructor Summary | |
---|---|
OperationResponse()
Default constructor |
Method Summary | |
---|---|
String |
getOutputFormat()
Gets the HTTP output format (MIME type). |
Document |
getResponseDom()
Gets the XML response document under construction. |
String |
getResponseXml()
Gets the response XML. |
Document |
newResponseDom()
Creates a new XML document for response construction. |
Element |
newResponseDom(String rootName)
Creates a new XML document for response construction. |
void |
setOutputFormat(String outputFormat)
Sets the HTTP output format (MIME type). |
void |
setResponseDom(Document responseDom)
Sets the XML response document under construction. |
void |
setResponseXml(String xml)
Sets the response XML. |
String |
toIso8601(Timestamp timestamp)
Converts a Timestamp to ISO-8601 format. |
String |
toIso8601Date(Timestamp timestamp)
Converts a Timestamp to ISO-8601 Date format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OperationResponse()
Method Detail |
---|
public String getOutputFormat()
public void setOutputFormat(String outputFormat)
outputFormat
- the output formatpublic String getResponseXml()
public void setResponseXml(String xml)
xml
- the response XMLpublic Document getResponseDom()
public void setResponseDom(Document responseDom)
responseDom
- the XML response documentpublic Document newResponseDom() throws Exception
Exception
- if the document fails during creationpublic Element newResponseDom(String rootName) throws Exception
rootName
- the name of the root element
DiscoveryException
- if the document fails to create
Exception
public String toIso8601(Timestamp timestamp)
timestamp
- the timestamp
public String toIso8601Date(Timestamp timestamp)
timestamp
- the timestamp
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |