Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| HTML Parser Home Page
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.htmlparser
Interface NodeFilter

All Known Implementing Classes:
  AndFilter, HasAttributeFilter, HasChildFilter, HasParentFilter, IsEqualFilter, NodeClassFilter, NotFilter, OrFilter, StringFilter, TagNameFilter

public interface NodeFilter

Implement this interface to select particular nodes.

Method Summary
`boolean` | `accept(Node node)` Predicate to determine whether or not to keep the given node.

Method Detail

### accept

    public boolean accept(Node node)

  Predicate to determine whether or not to keep the given node. The behaviour based on this outcome is determined by the context in which it is called. It may lead to the node being added to a list or printed out. See the calling routine for details.

  Returns:
    `true` if the node is to be kept, `false` if it is to be discarded.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| © 2004 Somik Raha Mar 14, 2004
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

HTML Parser is an open source library released under LGPL.