|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.filter.DefaultExpression
org.geotools.filter.GeometryExpressionImpl
Defines a complex filter (could also be called logical filter). This filter holds one or more filters together and relates them logically in an internally defined manner.
Field Summary | |
protected java.lang.String |
attPath
Holds all sub filters of this filter. |
protected java.lang.String |
colName
Holds all sub filters of this filter. |
Fields inherited from class org.geotools.filter.DefaultExpression |
expressionType, permissiveConstruction |
Fields inherited from interface org.geotools.filter.ExpressionType |
ATTRIBUTE, ATTRIBUTE_DOUBLE, ATTRIBUTE_GEOMETRY, ATTRIBUTE_INTEGER, ATTRIBUTE_STRING, ATTRIBUTE_UNDECLARED, FUNCTION, LITERAL_DOUBLE, LITERAL_GEOMETRY, LITERAL_INTEGER, LITERAL_STRING, MATH_ADD, MATH_DIVIDE, MATH_MULTIPLY, MATH_SUBTRACT |
Constructor Summary | |
protected |
GeometryExpressionImpl(java.lang.String colName)
Constructor with the schema for this attribute. |
Method Summary | |
void |
accept(FilterVisitor visitor)
Used by FilterVisitors to perform some action on this filter instance. |
java.lang.Object |
getValue(Feature feature)
Gets the value of this attribute from the passed feature. |
java.lang.String |
toString()
Return this expression as a string. |
Methods inherited from class org.geotools.filter.DefaultExpression |
getType, isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpression |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String attPath
protected java.lang.String colName
Constructor Detail |
protected GeometryExpressionImpl(java.lang.String colName)
Method Detail |
public java.lang.Object getValue(Feature feature)
getValue
in interface Expression
getValue
in class DefaultExpression
feature
- Feature from which to extract attribute value.
public java.lang.String toString()
public void accept(FilterVisitor visitor)
visitor
- The visitor which requires access to this filter, the
method must call visitor.visit(this);
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |