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.filters
Class IsEqualFilter

    java.lang.Object
      org.htmlparser.filters.IsEqualFilter

All Implemented Interfaces:
  NodeFilter

public class IsEqualFilter
extends Object
implements NodeFilter

This class accepts only one specific node.

Field Summary
`Node` | `mNode` The node to match.

Constructor Summary
`IsEqualFilter(Node node)` Creates a new instance of an IsEqualFilter that accepts only the node provided.

Method Summary
`boolean` | `accept(Node node)` Accept the node.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### mNode

    public Node mNode

  The node to match.

Constructor Detail

### IsEqualFilter

    public IsEqualFilter(Node node)

  Creates a new instance of an IsEqualFilter that accepts only the node provided.

Parameters:
  `node` - The node to match.

Method Detail

### accept

    public boolean accept(Node node)

  Accept the node.

  Specified by:
    `accept` in interface `NodeFilter`
  Parameters:
    `node` - The node to check.
  Returns:
    `false` unless `node` is the one and only.

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.