public class ElementMatcherSimpleStd extends ElementMatcherSimpleCS
Element.getAttribute() method provided by the DOM implementation returns
an empty string (not null) when the attribute is not defined.CLASS_ATTR, CLASS_DELIM, ID_ATTR| Constructor and Description |
|---|
ElementMatcherSimpleStd() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matchesName(Element e,
String name)
Checks whether the given element has the given name.
|
elementClasses, elementID, elementName, getAttribute, matchesAttribute, matchesClass, matchesIDpublic boolean matchesName(Element e, String name)
ElementMatchermatchesName in interface ElementMatchermatchesName in class ElementMatcherSimpleCSe - The DOM elementname - the element name to checktrue when the element has the given name.Copyright © 2019. All rights reserved.