public class WithName extends Object implements NodeFilter
NodeFilter.Action| Constructor and Description |
|---|
WithName(String... names)
Creates a new filter that accepts DOM nodes if their name is contained in the given list.
|
| Modifier and Type | Method and Description |
|---|---|
NodeFilter.Action |
acceptNode(com.google.gwt.dom.client.Node node)
Applies this filter on the given DOM node.
|
public WithName(String... names)
names - the list of node names to acceptpublic NodeFilter.Action acceptNode(com.google.gwt.dom.client.Node node)
NodeFilteracceptNode in interface NodeFilternode - the node to be filteredCopyright © 2004–2014 XWiki. All rights reserved.