|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.filter.internal.AbstractGeotoolsFilter
public abstract class AbstractGeotoolsFilter
Geotools based filter. Two filters are seen as equal if they are based on the same filter expression.
Constructor Summary | |
---|---|
AbstractGeotoolsFilter(String filterTerm)
Create a Geotools based filter. |
Method Summary | |
---|---|
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. |
int |
hashCode()
|
boolean |
match(Instance instance)
Determines if an instance matches the filter. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractGeotoolsFilter(String filterTerm) throws org.geotools.filter.text.cql2.CQLException
filterTerm
- the filter expression
org.geotools.filter.text.cql2.CQLException
- if parsing the filter expression failsMethod Detail |
---|
protected abstract org.opengis.filter.Filter createFilter(String filterTerm) throws org.geotools.filter.text.cql2.CQLException
filterTerm
- the filter term
org.geotools.filter.text.cql2.CQLException
- if an error occurs on filter creationpublic boolean match(Instance instance)
Filter
match
in interface Filter
instance
- the instance to check the filter against
true
if the given instance matches the filter,
false
otherwisepublic String getFilterTerm()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |