public class WithClassName extends Object implements NodeFilter
NodeFilter.Action| Constructor and Description |
|---|
WithClassName(String className)
Creates a new filter that accepts only elements that have the specified CSS class name.
|
| 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 WithClassName(String className)
className - the CSS class name to look forpublic NodeFilter.Action acceptNode(com.google.gwt.dom.client.Node node)
NodeFilteracceptNode in interface NodeFilternode - the node to be filteredCopyright © 2004–2016 XWiki. All rights reserved.