IndependentTreeFilter
or some other TreeFilter
instead@Deprecated public abstract class SimpleElementFilter extends SimpleConfigurable implements ElementFilter
Constructor and Description |
---|
SimpleElementFilter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
applies(Element<?> element)
Deprecated.
If an element in a forest is of compatible type, does the filter apply to it?
|
boolean |
shouldDescendInto(Object element)
Deprecated.
Should the forest traversal descend into the provided element? It is not guaranteed that the element is
of the type required by this parameter, but its children might be.
|
close, getJSONSchema, initialize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
filterFor
getExtensionId, getJSONSchema, initialize
close
public boolean applies(@Nullable Element<?> element)
Filter
public boolean shouldDescendInto(@Nullable Object element)
Filter
Therefore the filter is given a chance to influence the decision even for elements of types that it is not declared to filter.
shouldDescendInto
in interface Filter<Element<?>>
element
- the element to be descended intoCopyright © 2014-2021 Lukas Krejci. All Rights Reserved.