public abstract class AbstractGeotoolsFilter extends Object implements Filter
Constructor and Description |
---|
AbstractGeotoolsFilter(String filterTerm)
Create a Geotools based filter.
|
Modifier and Type | Method and Description |
---|---|
protected abstract org.opengis.filter.Filter |
createFilter(String filterTerm)
Create the fitler from the filter term.
|
boolean |
equals(Object obj) |
String |
getFilterTerm()
Get the ECQL expression the filter is based on.
|
org.opengis.filter.Filter |
getInternFilter() |
int |
hashCode() |
boolean |
match(Instance instance)
Determines if an instance matches the filter.
|
public AbstractGeotoolsFilter(String filterTerm) throws org.geotools.filter.text.cql2.CQLException
filterTerm
- the filter expressionorg.geotools.filter.text.cql2.CQLException
- if parsing the filter expression failsprotected abstract org.opengis.filter.Filter createFilter(String filterTerm) throws org.geotools.filter.text.cql2.CQLException
filterTerm
- the filter termorg.geotools.filter.text.cql2.CQLException
- if an error occurs on filter creationpublic boolean match(Instance instance)
Filter
public String getFilterTerm()
public org.opengis.filter.Filter getInternFilter()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a