public class IsEqualFilter extends java.lang.Object implements NodeFilter
Modifier and Type | Field and Description |
---|---|
protected Node |
mNode
The node to match.
|
Constructor and Description |
---|
IsEqualFilter(Node node)
Creates a new IsEqualFilter that accepts only the node provided.
|
protected Node mNode
public IsEqualFilter(Node node)
node
- The node to match.public boolean accept(Node node)
accept
in interface NodeFilter
node
- The node to check.false
unless node
is the one and only.HTML Parser is an open source library released under LGPL.