Returns whether an attribute exists. @webref xml:method @brief Checks whether or not an element has the specified attribute
(String name)
| 704 | * @brief Checks whether or not an element has the specified attribute |
| 705 | */ |
| 706 | public boolean hasAttribute(String name) { |
| 707 | return (node.getAttributes().getNamedItem(name) != null); |
| 708 | } |
| 709 | |
| 710 | |
| 711 | /** |
no outgoing calls
no test coverage detected