|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.server.csw.components.OperationResponse
public class OperationResponse
Represents an operation response.
Constructor Summary | |
---|---|
OperationResponse(CswNamespaces namespaces)
Default constructor |
Method Summary | |
---|---|
CswNamespaces |
getNamespaces()
Gets namespaces. |
String |
getOutputFormat()
Gets the HTTP output format (MIME type). |
int |
getResponseCode()
Gets HTTP response code. |
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 |
setNSAttributes(Element root)
methods ================================================================= |
void |
setOutputFormat(String outputFormat)
Sets the HTTP output format (MIME type). |
void |
setResponseCode(int responseCode)
Sets HTTP response code. |
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(CswNamespaces namespaces)
namespaces
- namespacesMethod Detail |
---|
public CswNamespaces getNamespaces()
public int getResponseCode()
public void setResponseCode(int responseCode)
responseCode
- HTTP response codepublic 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 void setNSAttributes(Element root)
public 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.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |