|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectschmitzm.geotools.feature.CQLFilterParser
public class CQLFilterParser
This parser creates a CQL-Filter
from a rule string. It also provides
information about available operators and their tooltips.
Constructor Summary | |
---|---|
CQLFilterParser()
Creates a new parser. |
Method Summary | |
---|---|
String |
getOperatorDescription(String operator)
Returns a description that can be used for a tooltip |
int |
getOperatorParameterCount(String operator)
Returns always 0 |
Vector<String> |
getOperators()
a list of String operators as they may be inserted into the CQL filter. |
String |
getOperatorTitle(String operator)
The title as it might be used in the GUI |
Filter |
parseFilter(String rule)
Creates a CQL- Filter for the rule string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CQLFilterParser()
Method Detail |
---|
public Filter parseFilter(String rule)
Filter
for the rule string.
parseFilter
in interface FilterParser
rule
- a rule string
public String getOperatorDescription(String operator)
getOperatorDescription
in interface ParserOperatorsHints
public int getOperatorParameterCount(String operator)
getOperatorParameterCount
in interface ParserOperatorsHints
public String getOperatorTitle(String operator)
getOperatorTitle
in interface ParserOperatorsHints
public Vector<String> getOperators()
getOperators
in interface ParserOperatorsHints
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |