|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.deegree_impl.services.wfs.filterencoding.AbstractOperation
org.deegree_impl.services.wfs.filterencoding.SpatialOperation
Encapsulates the information of a spatial_ops entity (as defined in the Filter DTD).
| Field Summary | |
private double |
distance
|
private GM_Object |
geometryLiteral
|
private GMLGeometry |
gmlGeometry
|
private PropertyName |
propertyName
|
| Fields inherited from class org.deegree_impl.services.wfs.filterencoding.AbstractOperation |
operatorId |
| Constructor Summary | |
SpatialOperation(int operatorId,
PropertyName propertyName,
GMLGeometry gmlGeometry)
Constructs a new SpatialOperation. |
|
SpatialOperation(int operatorId,
PropertyName propertyName,
GMLGeometry gmlGeometry,
double d)
Constructs a new SpatialOperation. |
|
| Method Summary | |
static Operation |
buildFromDOM(org.w3c.dom.Element element)
Given a DOM-fragment, a corresponding Operation-object is built. |
boolean |
evaluate(Feature feature)
Calculates the SpatialOperation's logical value based on the property values of the given Feature. |
GM_Envelope |
getBoundingBox()
Deprecated. replaced by getGeometry() |
double |
getDistance()
returns the distance for geo spatial comparsions such as DWithin or Beyond |
GMLGeometry |
getGeometry()
Returns the geometry literal used in the operation. |
GM_Object |
getGeometryLiteral()
Returns the geometry literal used in the operation. |
GM_Object |
getGeometryProperty(Feature feature)
Returns the geometry property used in the operation and one concrete feature. |
PropertyName |
getPropertyName()
returns the name of the (spatial) property that shall be use for geo spatial comparsions |
java.lang.StringBuffer |
toXML()
Produces an indented XML representation of this object. |
| Methods inherited from class org.deegree_impl.services.wfs.filterencoding.AbstractOperation |
getOperatorId, getOperatorName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private GMLGeometry gmlGeometry
private GM_Object geometryLiteral
private PropertyName propertyName
private double distance
| Constructor Detail |
public SpatialOperation(int operatorId,
PropertyName propertyName,
GMLGeometry gmlGeometry)
OperationDefines
public SpatialOperation(int operatorId,
PropertyName propertyName,
GMLGeometry gmlGeometry,
double d)
Calvin added on 10/21/2003| Method Detail |
public double getDistance()
public static Operation buildFromDOM(org.w3c.dom.Element element)
throws FilterConstructionException
FilterConstructionException - if the structure of the DOM-fragment is invalid
public GM_Object getGeometryProperty(Feature feature)
throws FilterEvaluationException
feature -
FilterEvaluationException - if the PropertyName does not denote
a GM_Object
public GM_Object getGeometryLiteral()
throws FilterEvaluationException
FilterEvaluationException - if the Literal can not be converted to
a GM_Objectpublic GMLGeometry getGeometry()
public GM_Envelope getBoundingBox()
getGeometry()
public PropertyName getPropertyName()
public java.lang.StringBuffer toXML()
public boolean evaluate(Feature feature)
throws FilterEvaluationException
TODO: Implement operations: CROSSES, BEYOND, OVERLAPS AND TOUCHES.
feature - that determines the property values
FilterEvaluationException - if the evaluation fails
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||