|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.filter.spatial.SpatialOperator
public abstract class SpatialOperator
Defines a topological predicate that can be evaluated on Geometry valued objects.
| Nested Class Summary | |
|---|---|
static class |
SpatialOperator.SubType
Convenience enum type for discriminating the different SpatialOperator types. |
| Nested classes/interfaces inherited from interface org.deegree.filter.Operator |
|---|
Operator.Type |
| Constructor Summary | |
|---|---|
SpatialOperator()
|
|
| Method Summary | |
|---|---|
protected Geometry |
checkGeometryOrNull(Object value)
Performs a checked cast to Geometry. |
protected Geometry |
getCompatibleGeometry(Geometry param,
Geometry literal)
Returns a version of the given geometry literal that has the same srs as the given geometry parameter. |
abstract Object[] |
getParams()
|
SpatialOperator.SubType |
getSubType()
Returns the type of spatial operator. |
Operator.Type |
getType()
Always returns Operator.Type#SPATIAL (for SpatialOperator instances). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.deegree.filter.Operator |
|---|
evaluate, toString |
| Constructor Detail |
|---|
public SpatialOperator()
| Method Detail |
|---|
public Operator.Type getType()
Operator.Type#SPATIAL (for SpatialOperator instances).
getType in interface OperatorOperator.Type#SPATIALpublic SpatialOperator.SubType getSubType()
SpatialOperator.
protected Geometry checkGeometryOrNull(Object value)
throws FilterEvaluationException
Geometry. If the given value is neither null nor a Geometry instance,
a corresponding FilterEvaluationException is thrown.
value -
Geometry or null)
FilterEvaluationException - if the value is neither null nor a Geometry
protected Geometry getCompatibleGeometry(Geometry param,
Geometry literal)
throws FilterEvaluationException
param - geometry parameter, must not be nullliteral - geometry literal, must not be null
FilterEvaluationException - if the transformation failedpublic abstract Object[] getParams()
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||