Package org.htmlparser.filters
Class IsEqualFilter
java.lang.Object
org.htmlparser.filters.IsEqualFilter
- All Implemented Interfaces:
Serializable
,Cloneable
,NodeFilter
This class accepts only one specific node.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIsEqualFilter
(Node node) Creates a new IsEqualFilter that accepts only the node provided. -
Method Summary
-
Field Details
-
mNode
The node to match.
-
-
Constructor Details
-
IsEqualFilter
Creates a new IsEqualFilter that accepts only the node provided.- Parameters:
node
- The node to match.
-
-
Method Details
-
accept
Accept the node.- Specified by:
accept
in interfaceNodeFilter
- Parameters:
node
- The node to check.- Returns:
false
unlessnode
is the one and only.
-