org.deegree_impl.services.wfs.filterencoding
Class AbstractOperation
java.lang.Object
org.deegree_impl.services.wfs.filterencoding.AbstractOperation
- All Implemented Interfaces:
- Operation
- Direct Known Subclasses:
- ComparisonOperation, LogicalOperation, SpatialOperation
- public abstract class AbstractOperation
- extends java.lang.Object
- implements Operation
Abstract superclass representing spatial_ops, comparison_ops and logical_ops
entities (as defined in the Filter DTD).
The three different types are reflected in SpatialOperation,
ComparisonOperation and LogicalOperation classes.
- Version:
- 10.08.2002
- Author:
- Markus Schneider
|
Field Summary |
protected int |
operatorId
The underlying operator's id. |
|
Method Summary |
static Operation |
buildFromDOM(org.w3c.dom.Element element)
Given a DOM-fragment, a corresponding Operation-object is built. |
int |
getOperatorId()
Returns the operator's id. |
java.lang.String |
getOperatorName()
Returns the name of the operator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
operatorId
protected int operatorId
- The underlying operator's id.
- See Also:
OperationDefines
AbstractOperation
AbstractOperation(int operatorId)
buildFromDOM
public static Operation buildFromDOM(org.w3c.dom.Element element)
throws FilterConstructionException
- Given a DOM-fragment, a corresponding Operation-object is built. This method
recursively calls other buildFromDOM () - methods to validate the structure
of the DOM-fragment.
- Throws:
FilterConstructionException - if the structure of the DOM-fragment is invalid
getOperatorName
public java.lang.String getOperatorName()
- Returns the name of the operator.
- Specified by:
getOperatorName in interface Operation
getOperatorId
public int getOperatorId()
- Returns the operator's id.
- Specified by:
getOperatorId in interface Operation
- See Also:
OperationDefines