@XmlElement(value="PropertyIsLike") public interface PropertyIsLike extends MultiValuedFilter
like" operator on properties of
a feature. The PropertyIsLike element is intended to encode a character string comparison
operator with pattern matching. The pattern is defined by a combination of regular characters,
the wildCard character, the singleChar character, and
the escape character. The wildCard character matches zero or more
characters. The singleChar character matches exactly one character. The escape
character is used to escape the meaning of the wildCard, singleChar and escape itself.MultiValuedFilter.MatchAction| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
Operator name used to check FilterCapabilities
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEscape()
Returns the string that can be used in the "literal" property of this object to prefix one of
the wild card characters to indicate that it should be matched literally in the content of
the feature's property.
|
Expression |
getExpression()
Returns the expression whose value will be compared against the wildcard- containing string
provided by the getLiteral() method.
|
String |
getLiteral()
Returns the wildcard-containing string that will be used to check the feature's properties.
|
String |
getSingleChar()
Returns the string that can be used in the "literal" property of this object to match exactly
one character.
|
String |
getWildCard()
Returns the string that can be used in the "literal" property of this object to match any
sequence of characters.
|
boolean |
isMatchingCase()
Flag controlling wither comparisons are case sensitive.
|
getMatchActionstatic final String NAME
@XmlElement(value="PropertyName") Expression getExpression()
@XmlElement(value="Literal") String getLiteral()
@XmlElement(value="wildCard") String getWildCard()
The default value for this property is the one character string "%".
@XmlElement(value="singleChar") String getSingleChar()
The default value for this property is the one character string "_".
@XmlElement(value="escape") String getEscape()
@XmlElement(value="matchCase") boolean isMatchingCase()
The ability to match case is pending the Filter 2.0 specification.
true if the comparison is case sensetive, otherwise false.Copyright © 1996–2021 Geotools. All rights reserved.