|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.sqldialect.filter.islike.IsLikeString
public class IsLikeString
Used for an escape-free representation of a literal from a PropertyIsLike
operation.
May contain special symbols (wildCard, singleChar, escape) as a list of its parts (IsLikeStringPart
).
Constructor Summary | |
---|---|
IsLikeString(String encodedString,
String wildCard,
String singleChar,
String escape)
Constructs a new SpecialCharString instance from the given parameters. |
Method Summary | |
---|---|
String |
toSQL()
Returns an encoding that is suitable for arguments of "IS LIKE"-clauses in SQL. |
String |
toSQL(boolean toLowerCase)
Returns an encoding that is suitable for arguments of "IS LIKE"-clauses in SQL. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IsLikeString(String encodedString, String wildCard, String singleChar, String escape) throws FilterEvaluationException
SpecialCharString
instance from the given parameters.
encodedString
- wildCard
- must be exacly one charactersingleChar
- must be exacly one characterescape
- must be exacly one character
FilterEvaluationException
- if wildCard, singleChar or escapeChar are not exactly one characterMethod Detail |
---|
public String toSQL()
This means:
public String toSQL(boolean toLowerCase)
This means:
toLowerCase
- true means: convert to lowercase letters
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |