|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.dom.client.filter.WithAttribute
public class WithAttribute
Accepts only elements with the given attribute.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.xwiki.gwt.dom.client.filter.NodeFilter |
|---|
NodeFilter.Action |
| Constructor Summary | |
|---|---|
WithAttribute(java.lang.String name)
Creates a new filter that accepts only elements that have the specified attribute. |
|
WithAttribute(java.lang.String name,
java.lang.String value)
Creates a new filter that accepts only elements that have the specified attribute set to the given value. |
|
| Method Summary | |
|---|---|
NodeFilter.Action |
acceptNode(com.google.gwt.dom.client.Node node)
Applies this filter on the given DOM node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WithAttribute(java.lang.String name)
name - the name of the attribute to look for
public WithAttribute(java.lang.String name,
java.lang.String value)
null then only the presence of the attribute is checked.
name - the name of the attribute to look forvalue - the value of the attribute, null to match any value| Method Detail |
|---|
public NodeFilter.Action acceptNode(com.google.gwt.dom.client.Node node)
acceptNode in interface NodeFilternode - the node to be filtered
NodeFilter.acceptNode(Node)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||