|
HTML Parser Home Page | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.htmlparser.filters.AndFilter
This class accepts all nodes matching both filters (AND operation).
| Field Summary | |
protected NodeFilter |
mLeft
The left hand side. |
protected NodeFilter |
mRight
The right hand side. |
| Constructor Summary | |
AndFilter(NodeFilter left,
NodeFilter right)
Creates a new instance of AndFilter that accepts nodes acceptable to both filters. |
|
| Method Summary | |
boolean |
accept(Node node)
Accept nodes that are acceptable to both filters. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected NodeFilter mLeft
protected NodeFilter mRight
| Constructor Detail |
public AndFilter(NodeFilter left,
NodeFilter right)
left - One filter.right - The other filter.| Method Detail |
public boolean accept(Node node)
accept in interface NodeFilternode - The node to check.
true if the node is to be kept, false
if it is to be discarded.
|
© 2004 Somik Raha Mar 14, 2004
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||