|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectFilterBuilder
CQL
utility class instead, this one is going to
be set to package visibility
public class FilterBuilder
FilterBuilder (the original name was ExpressionBuilder) is the main entry point for parsing Filters from the language.
This class was extended to generate semantic actions for all the CQL production rules.
Aditionaly refactoring was done in order to adapt the products to the new GeoAPI filter interfaces, targeting Filter 1.1.0.
CQL is an acronym for OGC Common Query Language, a query predicate language whose syntax is similar to a SQL WHERE clause, defined in clause 6.2.2 of the OGC Catalog Service for Web, version 2.0.1 implementation specification.
parse(String)
and
parse(org.opengis.filter.FilterFactory, String)
,
trunk/gt/modules
(gt-modules.jar
) (Maven report) (SVN head)Constructor Summary | |
---|---|
FilterBuilder()
Deprecated. |
Method Summary | |
---|---|
static String |
getFormattedErrorMessage(ParseException pe,
String input)
Deprecated. Returns a formatted error string, showing the original input, along with a pointer to the location of the error and the error message itself. |
static void |
main(String[] args)
Deprecated. |
static Filter |
parse(FilterFactory filterFactory,
String input)
Deprecated. Parses the input string in OGC CQL format into a Filter, using the provided FilterFactory. |
static Filter |
parse(String input)
Deprecated. Parses the input string in OGC CQL format into a Filter, using the systems default FilterFactory implementation. |
static Expression |
parseExpression(FilterFactory filterFactory,
String input)
Deprecated. Parses the input string in OGC CQL format into an Expression, using the provided FilterFactory. |
static Expression |
parseExpression(String input)
Deprecated. Parses the input string in OGC CQL format into an Expression, using the systems default FilterFactory implementation. |
static List |
parseFilterList(FilterFactory2 filterFactory,
String input)
Deprecated. Parses the input string in OGC CQL format into a Filter. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilterBuilder()
Method Detail |
---|
public static Filter parse(FilterFactory filterFactory, String input) throws ParseException
filterFactory
- the FilterFactory
to use for the creation of the
Filter. If it is null the method finds the default implementation.input
- a string containing a query predicate in OGC CQL format.
Filter
equivalent to the constraint specified in
input
.
ParseException
public static List parseFilterList(FilterFactory2 filterFactory, String input) throws ParseException
filterFactory
- the FilterFactory
to use for the creation of the
Expression. If it is null the method finds the default implementation.input
- a string containing a query predicate in OGC CQL format.
If it is null the method finds the default implementation.
ParseException
public static Filter parse(String input) throws ParseException
input
- a string containing a query predicate in OGC CQL format.
Filter
equivalent to the constraint specified in
input
.
ParseException
public static Expression parseExpression(FilterFactory filterFactory, String input) throws ParseException
filterFactory
- the FilterFactory
to use for the creation of the
Expression. If it is null the method finds the default implementation.input
- a string containing a OGC CQL expression.
Filter
equivalent to the constraint specified in
input
.
ParseException
public static Expression parseExpression(String input) throws ParseException
input
- a string containing an OGC CQL expression.
Expression
equivalent to the one specified in
input
.
ParseException
public static String getFormattedErrorMessage(ParseException pe, String input)
public static final void main(String[] args) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |