ArcGIS Server Geoportal extension
10

com.esri.gpt.control.csw.inbound202
Class PublicationResponse

java.lang.Object
  extended by com.esri.gpt.control.csw.inbound202.PublicationResponse

public class PublicationResponse
extends Object

Provides functionality for constructing the response to a CSW request.


Constructor Summary
protected PublicationResponse(RetrievalOptions retrievalOptions)
           
protected PublicationResponse(String cswResponse)
          Overloaded constructor.
 
Method Summary
 String getCswResponse()
          Gets the CSW response.
protected  void onComplete()
          Serializes the XML response document to a string when construction is complete.
protected  void setCswResponse(String response)
          Sets the CSW response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicationResponse

protected PublicationResponse(RetrievalOptions retrievalOptions)

PublicationResponse

protected PublicationResponse(String cswResponse)
Overloaded constructor.

Method Detail

getCswResponse

public String getCswResponse()
Gets the CSW response.

Returns:
the CSW response

setCswResponse

protected void setCswResponse(String response)
Sets the CSW response.

Parameters:
response - the CSW response

onComplete

protected void onComplete()
                   throws PublicationException
Serializes the XML response document to a string when construction is complete.

Throws:
DiscoveryException - if the document fails to serialize
PublicationException

ArcGIS Server Geoportal extension
10

Copyright 2010 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.