| 
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.model.filterencoding.AbstractOperation
org.deegree.model.filterencoding.ComparisonOperation
org.deegree.model.filterencoding.PropertyIsInstanceOfOperation
public class PropertyIsInstanceOfOperation
deegree-specific ComparisonOperation that allows to check the type of a property.
 
This is useful if the property has an abstract type with several concrete implementations, for example 'gml:_Geometry'.
NOTE: Currently supported types to test are:
| Field Summary | 
|---|
| Fields inherited from class org.deegree.model.filterencoding.AbstractOperation | 
|---|
operatorId | 
| Constructor Summary | |
|---|---|
PropertyIsInstanceOfOperation(PropertyName propertyName,
                                                           QualifiedName typeName)
Creates a new instance of PropertyIsInstanceOfOperation. | 
|
| Method Summary | |
|---|---|
static Operation | 
buildFromDOM(Element element)
Given a DOM-fragment, a corresponding Operation-object is built.  | 
 boolean | 
evaluate(Feature feature)
Calculates the Operation's logical value based on the certain property values
 of the given feature. | 
 PropertyName | 
getPropertyName()
 | 
 StringBuffer | 
toXML()
Produces an XML representation of this object.  | 
| Methods inherited from class org.deegree.model.filterencoding.ComparisonOperation | 
|---|
buildFromDOM | 
| Methods inherited from class org.deegree.model.filterencoding.AbstractOperation | 
|---|
getOperatorId, getOperatorName | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public PropertyIsInstanceOfOperation(PropertyName propertyName,
                                     QualifiedName typeName)
PropertyIsInstanceOfOperation.
propertyName - typeName - | Method Detail | 
|---|
public StringBuffer toXML()
public boolean evaluate(Feature feature)
                 throws FilterEvaluationException
Operation's logical value based on the certain property values
 of the given feature.
feature - that determines the values of PropertyNames in the expression
Operation evaluates to true, else false
FilterEvaluationException - if the evaluation fails
public static Operation buildFromDOM(Element element)
                              throws FilterConstructionException
element - to build from
FilterConstructionException - if the structure of the DOM-fragment is invalidpublic PropertyName getPropertyName()
  | 
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
					For more information visit: http://deegree.sourceforge.net