NodeFilter (dom4j 1.6.1 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.dom4j
Interface NodeFilter

All Known Subinterfaces:
  Pattern, XPath

All Known Implementing Classes:
  DefaultPattern, DefaultXPath, NodeTypePattern, XPathPattern

public interface NodeFilter

`NodeFilter` defines the behavior for a filter or predicate which acts on a DOM4J Node. Instances can be generated from an `DocumentFactory`.

Version:
  $Revision: 1.7 $
Author:
  James Strachan

Method Summary
`boolean` | `matches(Node node)` `matches` returns true if the given node matches the filter condition.

Method Detail

### matches

    public boolean matches(Node node)

  `matches` returns true if the given node matches the filter condition.

  Parameters:
    `node` - DOCUMENT ME!
  Returns:
    true if this filter matches the given node

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved.