|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ceryle.xml.MatchFilter
public class MatchFilter
A NodeFilter implementation that matches (or explicitly does not match) the Element name value.
| Field Summary |
|---|
| Fields inherited from interface org.w3c.dom.traversal.NodeFilter |
|---|
FILTER_ACCEPT, FILTER_REJECT, FILTER_SKIP, SHOW_ALL, SHOW_ATTRIBUTE, SHOW_CDATA_SECTION, SHOW_COMMENT, SHOW_DOCUMENT, SHOW_DOCUMENT_FRAGMENT, SHOW_DOCUMENT_TYPE, SHOW_ELEMENT, SHOW_ENTITY, SHOW_ENTITY_REFERENCE, SHOW_NOTATION, SHOW_PROCESSING_INSTRUCTION, SHOW_TEXT |
| Constructor Summary | |
|---|---|
MatchFilter(String name)
Constructor with String to match name. |
|
| Method Summary | |
|---|---|
short |
acceptNode(Node n)
acceptNode() determines if this filter accepts a node or not. |
boolean |
getMatch()
Return match value. |
String |
getName()
Return the name to compare with node name. |
void |
setMatch(boolean match)
Controls whether the node name is accepted when it does match the setName value, or when it does not match the setName value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MatchFilter(String name)
| Method Detail |
|---|
public String getName()
public void setMatch(boolean match)
public boolean getMatch()
public short acceptNode(Node n)
acceptNode in interface org.w3c.dom.traversal.NodeFilter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||