|
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.DiscoveryHandler
public class DiscoveryHandler
Super-class for the handling of an in-bound CSW 2.0.2 discovery request.
Constructor Summary | |
---|---|
DiscoveryHandler(RequestContext requestContext)
Constructs with an associated request context. |
Method Summary | |
---|---|
protected void |
executeQuery(DiscoveryQuery query)
Executes a discovery query. |
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 void |
parseElementSet(Node parent,
XPath xpath,
DiscoveryQuery query)
Parses the returnable element set. |
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 DiscoveryHandler(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 DiscoveryException
service
- the CSW service
DiscoveryException
- if the service is not "CSW"protected String getVersion()
protected void setVersion(String version) throws DiscoveryException
version
- the CSW version
DiscoveryException
- if the version is not "2.0.2"protected void executeQuery(DiscoveryQuery query) throws DiscoveryException
query
- the discovery query to execute
DiscoveryException
- is an exception occurs during executionprotected Discoverable findDiscoverable(String clientName)
clientName
- the client name (or alias)
protected void parseElementSet(Node parent, XPath xpath, DiscoveryQuery query) throws DiscoveryException, XPathExpressionException
parent
- the parent node containing the element setxpath
- an XPath to enable queries (properly configured with name spaces)query
- the active discovery query
DiscoveryException
- if a structural related exception occurs
XPathExpressionException
- if an XPath related exception occursprotected Discoverable parsePropertyName(Node parent, XPath xpath) throws DiscoveryException, 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
|
ArcGIS Server Geoportal extension 10
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |