|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.server.csw.provider.local.DiscoveryAdapter com.esri.gpt.server.csw.provider.local.QueryFilterParser
public class QueryFilterParser
Parses the ogc:Filter portion of a CSW query request (GetRecords).
Constructor Summary | |
---|---|
QueryFilterParser(OperationContext context)
Default constructor |
Method Summary | |
---|---|
void |
parseFilter(OperationContext context,
Node filterNode,
XPath xpath)
Parses the ogc:Filter node for an XML based request. |
protected void |
parseLogicalClause(Node parent,
XPath xpath,
LogicalClause logicalClause)
Parses a parent node for logical, property comparison and spatial sub-clauses. |
protected void |
parsePropertyClause(Node parent,
XPath xpath,
LogicalClause logicalClause,
PropertyClause propertyClause)
Parses the property and literal elements underlying a comparison operator. |
protected void |
parseSpatialClause(Node parent,
XPath xpath,
LogicalClause logicalClause,
SpatialClause spatialClause)
Parses the spatial operand underlying a spatial operator. |
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 |
---|
public QueryFilterParser(OperationContext context)
Method Detail |
---|
public void parseFilter(OperationContext context, Node filterNode, XPath xpath) throws OwsException, XPathExpressionException
parseFilter
in interface IFilterParser
context
- the operation contextfilterNode
- the ogc:Filter nodexpath
- an XPath to enable queries (properly configured with name spaces)
OwsException
- if validation fails
XPathExpressionException
- if an XPath related exception occursprotected void parseLogicalClause(Node parent, XPath xpath, LogicalClause logicalClause) throws OwsException, XPathExpressionException
parent
- the parent node from which sub-clauses will readxpath
- an XPath to enable queries (properly configured with name spaces)logicalClause
- the active logical clause to which sub-clauses will be added
OwsException
- if validation fails
XPathExpressionException
- if an XPath related exception occursprotected void parsePropertyClause(Node parent, XPath xpath, LogicalClause logicalClause, PropertyClause propertyClause) throws OwsException, XPathExpressionException
parent
- the parent node (the node of the property operator)xpath
- an XPath to enable queries (properly configured with name spaces)logicalClause
- the logical clause which will contain the comparison clausepropertyClause
- the populate
OwsException
- OwsException if validation fails
XPathExpressionException
- if an XPath related exception occursprotected void parseSpatialClause(Node parent, XPath xpath, LogicalClause logicalClause, SpatialClause spatialClause) throws OwsException, XPathExpressionException
parent
- the parent node (specifies the spatial operator)xpath
- an XPath to enable queries (properly configured with namespaces)logicalClause
- the logical clause which will contain the spatial clausespatialClause
- the spatial clause to populate
OwsException
- OwsException if validation fails
XPathExpressionException
- if an XPath related exception occurs
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |