public class Equals extends SpatialFilter
The abstract class of <Equals> elements.
Equals is a spatial operator, representing the equals operation, i.e., confining result features to ones that coincide with a specified geometric object spatially.
A Equals element consists of the name of the field storing geometric object, and the target geometric object participating in the operation.
name, subExpression| Constructor and Description |
|---|
Equals()
The constructor.
|
Equals(PropertyName propertyName, Geometry geometry)
Constructs an object of
Equals with a null name according to the name of the field storing the geometric object and the target geometric object participating in the operation. |
Equals(PropertyName property, GeometryExpression geometry)
Constructs an object of
Equals named "Equals" according to the name of the field storing the geometric object and the target geometric object participating in the operation. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AbstractFilterVisitor visitor) |
FilterType |
getFilterType()
Gets the Filter element type.
|
getGeometry, getPropertyName, setSubExpressioncopy, getName, getSubExpression, getSubExpressionCountpublic Equals(PropertyName property, GeometryExpression geometry)
Constructs an object of Equals named "Equals" according to the name of the field storing the geometric object and the target geometric object participating in the operation.
property - An abstract object of the <PropertyName> element, representing the name of the field storing the geometric object.geometry - The target geometric object.public Equals(PropertyName propertyName, Geometry geometry) throws OGCException
Constructs an object of Equals with a null name according to the name of the field storing the geometric object and the target geometric object participating in the operation.
propertyName - An abstract object of the <PropertyName> element, representing the name of the field storing the geometric object.geometry - The target geometric object.OGCException - An OGC service exception.public Equals()
The constructor.
public void accept(AbstractFilterVisitor visitor) throws OGCException
accept in class FilterOGCExceptionpublic FilterType getFilterType()
FilterGets the Filter element type.
getFilterType in class Filter