|
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.PublicationHandler
public class PublicationHandler
Super-class for the handling of an in-bound CSW 2.0.2 publication request.
Constructor Summary | |
---|---|
PublicationHandler(RequestContext requestContext)
Constructs with an associated request context. |
Method Summary | |
---|---|
protected Discoverable |
findDiscoverable(String clientName)
Finds the discoverable associated with a client name. |
protected String |
getCswResponse()
Gets the CSW response. |
protected CoreQueryables |
getQueryables()
Gets the queryables. |
protected RequestContext |
getRequestContext()
Gets the request context |
protected String |
getRequestParameter(HttpServletRequest request,
String parameterKey)
Gets the HTTP request parameter value associated with a key. |
protected RetrievalOptions |
getRetrievalOptions()
Gets the retrieval options associated with a request. |
protected String |
getService()
Gets the CSW service. |
protected String |
getVersion()
Gets the CSW version. |
protected Discoverable |
parsePropertyName(Node parent,
XPath xpath)
Parses a parent node for an associated property name. |
protected void |
setCswResponse(String response)
Sets the CSW response. |
protected void |
setService(String service)
Sets the CSW service. |
protected void |
setVersion(String version)
Sets the CSW version. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PublicationHandler(RequestContext requestContext)
requestContext
- the request contextMethod Detail |
---|
protected String getCswResponse()
protected void setCswResponse(String response)
response
- the CSW responseprotected RequestContext getRequestContext()
protected CoreQueryables getQueryables()
protected String getRequestParameter(HttpServletRequest request, String parameterKey)
parameterKey
- the parameter key
protected RetrievalOptions getRetrievalOptions()
protected String getService()
protected void setService(String service) throws PublicationException
service
- the CSW service
DiscoveryException
- if the service is not "CSW"
PublicationException
protected String getVersion()
protected void setVersion(String version) throws PublicationException
version
- the CSW version
DiscoveryException
- if the version is not "2.0.2"
PublicationException
protected Discoverable findDiscoverable(String clientName)
clientName
- the client name (or alias)
protected Discoverable parsePropertyName(Node parent, XPath xpath) throws PublicationException, XPathExpressionException
parent
- the parent of the property to locatexpath
- an XPath to enable queries (properly configured with name spaces)
DiscoveryException
- if a structural related exception occurs
XPathExpressionException
- if an XPath related exception occurs
PublicationException
|
ArcGIS Server Geoportal extension 10
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |