Package org.dom4j
Interface NodeFilter
-
- All Known Implementing Classes:
DefaultPattern,DefaultXPath,NodeTypePattern,XPathPattern
public interface NodeFilterNodeFilterdefines the behavior for a filter or predicate which acts on a DOM4J Node. Instances can be generated from anDocumentFactory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatches(Node node)matchesreturns true if the given node matches the filter condition.
-
-
-
Method Detail
-
matches
boolean matches(Node node)
matchesreturns true if the given node matches the filter condition.- Parameters:
node- DOCUMENT ME!- Returns:
- true if this filter matches the given node
-
-