org.deegree.model.filterencoding
Class PropertyIsNullOperation
java.lang.Object
  
org.deegree.model.filterencoding.AbstractOperation
      
org.deegree.model.filterencoding.ComparisonOperation
          
org.deegree.model.filterencoding.PropertyIsNullOperation
- All Implemented Interfaces: 
 - Operation
 
public class PropertyIsNullOperation
- extends ComparisonOperation
 
Encapsulates the information of a -element (as defined in Filter DTD). The DTD defines the properties
 type to be tested as PropertyName or Literal.
- Version:
 
  - 07.08.2002
 
- Author:
 
  - Markus Schneider
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PropertyIsNullOperation
public PropertyIsNullOperation(PropertyName propertyName)
- Parameters:
 propertyName - to check for
getPropertyName
public PropertyName getPropertyName()
- Returns:
 - the property name
 
 
buildFromDOM
@Deprecated
public static Operation buildFromDOM(Element element)
                              throws FilterConstructionException
- Deprecated. use the 1.0.0 filter encoding aware method instead.
- 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 - to build the bean fromuseVersion_1_0_0 - if the filterencoding 1.0.0 should be used.
- Returns:
 - a Bean of the DOM
 - 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
- 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 - to build the bean fromuseVersion_1_0_0 - if the filterencoding 1.0.0 should be used.
- Returns:
 - a Bean of the DOM
 - Throws:
 FilterConstructionException - if the structure of the DOM-fragment is invalid
 
 
toXML
public StringBuffer toXML()
- Produces an indented XML representation of this object.
 
 
evaluate
public boolean evaluate(Feature feature)
                 throws FilterEvaluationException
- Calculates the PropertyIsNull -Operation's logical value based on the certain property values of the
 given Feature.
- Parameters:
 feature - that determines the property values
- Returns:
 - true, if the PropertyIsNull -Operation evaluates to true, else false
 - Throws:
 FilterEvaluationException - if the evaluation fails
 
 
				an open source project founded by lat/lon, Bonn, Germany.
					For more information visit: http://deegree.sourceforge.net