|
||||||||||
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.
modules/library/api (gt-api.jar)
Field Summary |
---|
Fields inherited from interface Filter |
---|
ALL, NONE |
Fields inherited from interface Filter |
---|
EXCLUDE, INCLUDE |
Fields inherited from interface PropertyIsLike |
---|
NAME |
Fields inherited from interface Filter |
---|
EXCLUDE, INCLUDE |
Method Summary | |
---|---|
boolean |
contains(SimpleFeature feature)
Deprecated. use org.opengis.filter.Filter#evaluate(Feature) |
String |
getEscape()
Deprecated. use PropertyIsLike.getEscape() |
String |
getPattern()
Deprecated. use PropertyIsLike.getLiteral() |
Expression |
getValue()
Deprecated. use PropertyIsLike.getExpression() |
String |
getWildcardMulti()
Deprecated. use PropertyIsLike.getWildCard() |
String |
getWildcardSingle()
Deprecated. use PropertyIsLike.getSingleChar()() |
void |
setPattern(Expression p,
String wildcardMulti,
String wildcardSingle,
String escape)
Deprecated. use one of PropertyIsLike#setExpression(Expression)
PropertyIsLike#setWildCard(String)
PropertyIsLike#setSingleChar(String)
PropertyIsLike#setEscape(String) |
void |
setPattern(String pattern,
String wildcardMulti,
String wildcardSingle,
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 Filter |
---|
accept, and, evaluate, getFilterType, not, or |
Methods inherited from interface Filter |
---|
accept, evaluate |
Methods inherited from interface PropertyIsLike |
---|
getExpression, getLiteral, getSingleChar, getWildCard, isMatchingCase |
Methods inherited from interface Filter |
---|
accept, evaluate |
Method Detail |
---|
void setPattern(String pattern, String wildcardMulti, String wildcardSingle, 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.String getWildcardMulti()
PropertyIsLike.getWildCard()
String getEscape()
PropertyIsLike.getEscape()
getEscape
in interface PropertyIsLike
void setPattern(Expression p, String wildcardMulti, String wildcardSingle, 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.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()
String getWildcardSingle()
PropertyIsLike.getSingleChar()()
boolean contains(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 |