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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Node node)
Accept the node.
|
protected Node mNode
public IsEqualFilter(Node node)
node - The node to match.public boolean accept(Node node)
accept in interface NodeFilternode - The node to check.false unless node is the one and only.HTML Parser is an open source library released under LGPL.