| java.lang.Object org.deegree.model.filterencoding.AbstractOperation org.deegree.model.filterencoding.LogicalOperation
LogicalOperation | public class LogicalOperation extends AbstractOperation (Code) | | Encapsulates the information of a logical_ops entity (as defined in the Filter DTD).
version: $Revision: 9343 $ author: Markus Schneider author: last edited by: $Author: apoth $ version: 1.0. $Revision: 9343 $, $Date: 2007-12-27 05:30:32 -0800 (Thu, 27 Dec 2007) $ since: 2.0 |
Method Summary | |
public static Operation | buildFromDOM(Element element) Given a DOM-fragment, a corresponding Operation-object is built. | public static Operation | buildFromDOM(Element element, boolean useVersion_1_0_0) Given a DOM-fragment, a corresponding Operation-object is built. | public boolean | evaluate(Feature feature) Calculates the LogicalOperation's logical value based on the certain property
values of the given Feature. | public List<Operation> | getArguments() Returns the arguments of the operation. | public StringBuffer | toXML() Produces an indented XML representation of this object. |
LogicalOperation | public LogicalOperation(int operatorId, List<Operation> arguments)(Code) | | Constructs a new LogicalOperation.
See Also: OperationDefines Parameters: operatorId - Parameters: arguments - |
buildFromDOM | public static Operation buildFromDOM(Element element) throws FilterConstructionException(Code) | | 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.
Parameters: element - opertation throws: FilterConstructionException - if the structure of the DOM-fragment is invalid |
buildFromDOM | public static Operation buildFromDOM(Element element, boolean useVersion_1_0_0) throws FilterConstructionException(Code) | | 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.
Parameters: element - opertation throws: FilterConstructionException - if the structure of the DOM-fragment is invalid |
evaluate | public boolean evaluate(Feature feature) throws FilterEvaluationException(Code) | | Calculates the LogicalOperation's logical value based on the certain property
values of the given Feature.
Parameters: feature - that determines the property values true, if the LogicalOperation evaluates to true, else false throws: FilterEvaluationException - if the evaluation fails |
getArguments | public List<Operation> getArguments()(Code) | | Returns the arguments of the operation. These are OperationsMetadata as well.
a list of arguments of the operation |
toXML | public StringBuffer toXML()(Code) | | Produces an indented XML representation of this object.
XML representation of opertation |
Fields inherited from org.deegree.model.filterencoding.AbstractOperation | protected int operatorId(Code)(Java Doc)
|
|
|