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:
acceptin interfaceNodeFilter- Parameters:
node- The node to check.- Returns:
falseunlessnodeis the one and only.
-