Esri Geoportal Server
1.0

com.esri.gpt.server.csw.provider.local
Class SortByParser

java.lang.Object
  extended by com.esri.gpt.server.csw.provider.local.DiscoveryAdapter
      extended by com.esri.gpt.server.csw.provider.local.SortByParser
All Implemented Interfaces:
ISortByParser

public class SortByParser
extends DiscoveryAdapter
implements ISortByParser

Parses the ogc:SortBy portion of a CSW request.


Constructor Summary
SortByParser(OperationContext context)
          Default constructor
 
Method Summary
 void parseSortBy(OperationContext context, Node sortByNode, XPath xpath)
          Parses the ogc:SortBy node for an XML based request.
 
Methods inherited from class com.esri.gpt.server.csw.provider.local.DiscoveryAdapter
getDiscoveryContext, parsePropertyName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortByParser

public SortByParser(OperationContext context)
Default constructor

Method Detail

parseSortBy

public void parseSortBy(OperationContext context,
                        Node sortByNode,
                        XPath xpath)
                 throws OwsException,
                        XPathExpressionException
Parses the ogc:SortBy node for an XML based request.

Specified by:
parseSortBy in interface ISortByParser
Parameters:
context - the operation context
sortByNode - the ogc:SortBy node
xpath - an XPath to enable queries (properly configured with name spaces)
Throws:
OwsException - if validation fails
XPathExpressionException - if an XPath related exception occurs

Esri Geoportal Server
1.0

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