|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.filter.FilterCapabilities
Represents the Filter capabilities that are supported by a SQLEncoder. Each SQLEncoder class should have one static FilterCapabilities, representing the filter encoding operations that it can successfully perform.
Constructor Summary | |
FilterCapabilities()
No argument Constructor. |
Method Summary | |
void |
addType(short type)
Adds a new support type to capabilities. |
boolean |
fullySupports(Filter filter)
Determines if the filter and all its sub filters are supported. |
boolean |
supports(Filter filter)
Determines if the filter passed in is supported. |
boolean |
supports(short type)
Determines if the filter type passed in is supported. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FilterCapabilities()
Method Detail |
public void addType(short type)
type
- The AbstractFilter type that is supportedpublic boolean supports(short type)
type
- The AbstractFilter type to be tested
public boolean supports(Filter filter)
filter
- The Filter to be tested.
public boolean fullySupports(Filter filter)
filter
- the filter to be tested.
java.lang.IllegalArgumentException
- If a null filter is passed in. As this
function is recursive a null in a logic filter will also cause
an error.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |