|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PropertyIsLike
public interface LikeFilter
Defines a like filter, which checks to see if an attribute matches a REGEXP.
Field Summary |
---|
Fields inherited from interface org.geotools.filter.Filter |
---|
ALL, NONE |
Fields inherited from interface org.geotools.filter.FilterType |
---|
BETWEEN, COMPARE_EQUALS, COMPARE_GREATER_THAN, COMPARE_GREATER_THAN_EQUAL, COMPARE_LESS_THAN, COMPARE_LESS_THAN_EQUAL, COMPARE_NOT_EQUALS, FID, GEOMETRY_BBOX, GEOMETRY_BEYOND, GEOMETRY_CONTAINS, GEOMETRY_CROSSES, GEOMETRY_DISJOINT, GEOMETRY_DWITHIN, GEOMETRY_EQUALS, GEOMETRY_INTERSECTS, GEOMETRY_OVERLAPS, GEOMETRY_TOUCHES, GEOMETRY_WITHIN, LIKE, LOGIC_AND, LOGIC_NOT, LOGIC_OR, NULL |
Fields inherited from interface org.opengis.filter.PropertyIsLike |
---|
NAME |
Fields inherited from interface org.opengis.filter.Filter |
---|
EXCLUDE, INCLUDE |
Method Summary | |
---|---|
boolean |
contains(org.opengis.feature.simple.SimpleFeature feature)
Deprecated. use org.opengis.filter.Filter#evaluate(Feature) |
java.lang.String |
getEscape()
Deprecated. use PropertyIsLike.getEscape() |
java.lang.String |
getPattern()
Deprecated. use PropertyIsLike.getLiteral() |
Expression |
getValue()
Deprecated. use PropertyIsLike.getExpression() |
java.lang.String |
getWildcardMulti()
Deprecated. use PropertyIsLike.getWildCard() |
java.lang.String |
getWildcardSingle()
Deprecated. use PropertyIsLike.getSingleChar()() |
void |
setPattern(Expression p,
java.lang.String wildcardMulti,
java.lang.String wildcardSingle,
java.lang.String escape)
Deprecated. use one of PropertyIsLike#setExpression(Expression)
PropertyIsLike#setWildCard(String)
PropertyIsLike#setSingleChar(String)
PropertyIsLike#setEscape(String) |
void |
setPattern(java.lang.String pattern,
java.lang.String wildcardMulti,
java.lang.String wildcardSingle,
java.lang.String escape)
Deprecated. use one of PropertyIsLike#setExpression(Expression)
PropertyIsLike#setWildCard(String)
PropertyIsLike#setSingleChar(String)
PropertyIsLike#setEscape(String) |
void |
setValue(Expression attribute)
Deprecated. use PropertyIsLike#setExpression(Expression) |
Methods inherited from interface org.geotools.filter.Filter |
---|
accept, and, evaluate, getFilterType, not, or |
Methods inherited from interface org.opengis.filter.PropertyIsLike |
---|
getExpression, getLiteral, getSingleChar, getWildCard, isMatchingCase |
Methods inherited from interface org.opengis.filter.Filter |
---|
accept, evaluate |
Method Detail |
---|
void setPattern(java.lang.String pattern, java.lang.String wildcardMulti, java.lang.String wildcardSingle, java.lang.String escape)
PropertyIsLike#setExpression(Expression)
PropertyIsLike#setWildCard(String)
PropertyIsLike#setSingleChar(String)
PropertyIsLike#setEscape(String)
pattern
- The string which contains the match pattern for this
filter.wildcardMulti
- The string that represents a mulitple character
(1->n) wildcard.wildcardSingle
- The string that represents a single character (1)
wildcard.escape
- The string that represents an escape character.java.lang.String getWildcardMulti()
PropertyIsLike.getWildCard()
java.lang.String getEscape()
PropertyIsLike.getEscape()
getEscape
in interface org.opengis.filter.PropertyIsLike
void setPattern(Expression p, java.lang.String wildcardMulti, java.lang.String wildcardSingle, java.lang.String escape)
PropertyIsLike#setExpression(Expression)
PropertyIsLike#setWildCard(String)
PropertyIsLike#setSingleChar(String)
PropertyIsLike#setEscape(String)
p
- The expression which evaluates to the match pattern for this
filter.wildcardMulti
- The string that represents a mulitple character
(1->n) wildcard.wildcardSingle
- the string that represents a single character (1)
wildcard.escape
- The string that represents an escape character.java.lang.String getPattern()
PropertyIsLike.getLiteral()
void setValue(Expression attribute) throws IllegalFilterException
PropertyIsLike#setExpression(Expression)
attribute
- The value of the attribute for comparison.
IllegalFilterException
- Filter is illegal, adding something other
than a string attribute.Expression getValue()
PropertyIsLike.getExpression()
java.lang.String getWildcardSingle()
PropertyIsLike.getSingleChar()()
boolean contains(org.opengis.feature.simple.SimpleFeature feature)
org.opengis.filter.Filter#evaluate(Feature)
feature
- Specified feature to examine.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |