public class GeotoolsSpatialExpressionBuilder extends Object implements SpatialExpressionBuilder
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) |
protected ddf.catalog.filter.proxy.builder.Operator |
getOperator() |
protected Object |
getSecondaryValue() |
protected Object |
getValue() |
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) |
org.opengis.filter.Filter |
wkt(String string)
|
public org.opengis.filter.Filter wkt(String string)
SpatialExpressionBuilder
Filter
for Metacard
s where the
specified Attribute
relates to the specified WKT per the specified
operator.wkt
in interface SpatialExpressionBuilder
string
- - WKT-formatted shape definition (2D)Filter
- spatial filter for specified WKT-defined shapeprotected 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.