Esri Geoportal Server
1.0

com.esri.gpt.server.csw.provider
Class GetRecordsProvider

java.lang.Object
  extended by com.esri.gpt.server.csw.provider.GetRecordsProvider
All Implemented Interfaces:
IOperationProvider

public class GetRecordsProvider
extends Object
implements IOperationProvider

Provides the CSW GetRecords operation.


Constructor Summary
GetRecordsProvider()
          Default constructor
 
Method Summary
protected  Node buildFilterNode(String[] namespace, String constraintFilter)
          Builds an ogc:Filter node from HTTP GET parameters.
protected  Node buildSortByNode(String[] sortBy)
          Builds an ogc:SortBy node from HTTP GET parameters.
 void execute(OperationContext context)
          Executes a parsed operation request.
 void handleGet(OperationContext context, HttpServletRequest request)
          Handles a URL based request (HTTP GET).
 void handleXML(OperationContext context, Node root, XPath xpath)
          Handles an XML based request (normally HTTP POST).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetRecordsProvider

public GetRecordsProvider()
Default constructor

Method Detail

buildFilterNode

protected Node buildFilterNode(String[] namespace,
                               String constraintFilter)
                        throws Exception
Builds an ogc:Filter node from HTTP GET parameters.

Parameters:
namespace - the namespace parameter values
constraintFilter - the constraint parameter value
Throws:
Exception - if a processing exception occurs

buildSortByNode

protected Node buildSortByNode(String[] sortBy)
                        throws Exception
Builds an ogc:SortBy node from HTTP GET parameters.

Parameters:
sortBy - the sortBy parameter values
Throws:
Exception - if a processing exception occurs

execute

public void execute(OperationContext context)
             throws Exception
Executes a parsed operation request.

Parameters:
context - the operation context
Throws:
Exception - if a processing exception occurs

handleGet

public void handleGet(OperationContext context,
                      HttpServletRequest request)
               throws Exception
Handles a URL based request (HTTP GET).

Specified by:
handleGet in interface IOperationProvider
Parameters:
context - the operation context
request - the HTTP request
Throws:
Exception - if a processing exception occurs

handleXML

public void handleXML(OperationContext context,
                      Node root,
                      XPath xpath)
               throws Exception
Handles an XML based request (normally HTTP POST).

Specified by:
handleXML in interface IOperationProvider
Parameters:
context - the operation context
root - the root node
xpath - an XPath to enable queries (properly configured with name spaces)
Throws:
Exception - if a processing exception occurs

Esri Geoportal Server
1.0

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