public class IdentityFilter extends AbstractFilter
orFilters, parentFilter
Constructor and Description |
---|
IdentityFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(java.lang.Object node,
int depth)
Evaluates whether a node should be filtered or not.
|
getOrFilters, getParentFilter, or, setParentFilter
public boolean evaluate(java.lang.Object node, int depth)
Filter
evaluate
in interface Filter
evaluate
in class AbstractFilter
node
- the node to be evaluateddepth
- the depth at which this element is in the XML tree