public class GeotoolsXPathBuilder extends Object implements XPathBuilder
Constructor and Description |
---|
GeotoolsXPathBuilder(String xPathSelector) |
Modifier and Type | Method and Description |
---|---|
protected org.opengis.filter.Filter |
build() |
protected org.opengis.filter.Filter |
build(Object arg) |
protected org.opengis.filter.Filter |
build(Object arg0,
Object arg1) |
org.opengis.filter.Filter |
exists()
Builds a
Filter that matches Metacard s where the XML node
indicated by the XPath exists. |
protected ddf.catalog.filter.proxy.builder.Operator |
getOperator() |
protected Object |
getSecondaryValue() |
protected Object |
getValue() |
XPathBuilder |
is()
Continue building the
Filter with an implied EQUALS |
ContextualExpressionBuilder |
like()
Continue building an XPath
Filter with a Contextual operator |
protected void |
setArguments(List<org.opengis.filter.expression.Expression> arguments) |
protected void |
setAttribute(String attribute) |
protected void |
setFunctionName(String functionName) |
protected void |
setOperator(ddf.catalog.filter.proxy.builder.Operator operator) |
protected void |
setSecondaryValue(Object arg1) |
protected void |
setValue(Object value) |
org.opengis.geometry.Geometry |
toGeometry(String wkt) |
public GeotoolsXPathBuilder(String xPathSelector)
public org.opengis.filter.Filter exists()
XPathBuilder
Filter
that matches Metacard
s where the XML node
indicated by the XPath exists. Searches across all Metacard
Attribute
s of type AttributeType.AttributeFormat.XML
.exists
in interface XPathBuilder
Filter
for indicated XPathpublic ContextualExpressionBuilder like()
XPathBasicBuilder
Filter
with a Contextual operatorlike
in interface XPathBasicBuilder
ContextualExpressionBuilder
to continue buildingpublic XPathBuilder is()
XPathBuilder
Filter
with an implied EQUALSis
in interface XPathBuilder
XPathBasicBuilder
, to continue building the Filter
protected org.opengis.filter.Filter build()
protected org.opengis.filter.Filter build(Object arg)
protected void setFunctionName(String functionName)
protected void setArguments(List<org.opengis.filter.expression.Expression> arguments)
protected void setAttribute(String attribute)
attribute
- the attribute to setprotected ddf.catalog.filter.proxy.builder.Operator getOperator()
protected void setOperator(ddf.catalog.filter.proxy.builder.Operator operator)
operator
- the operator to setprotected Object getSecondaryValue()
protected void setSecondaryValue(Object arg1)
protected Object getValue()
protected void setValue(Object value)
value
- the value to setpublic org.opengis.geometry.Geometry toGeometry(String wkt)
This work is licensed under a Creative Commons Attribution 4.0 International License.