Checks whether or not an element has the specified attribute. The attribute must be specified as a String , and a boolean is returned. @webref xml:method @webBrief Checks whether or not an element has the specified attribute
(String name)
| 728 | * @webBrief Checks whether or not an element has the specified attribute |
| 729 | */ |
| 730 | public boolean hasAttribute(String name) { |
| 731 | return (node.getAttributes().getNamedItem(name) != null); |
| 732 | } |
| 733 | |
| 734 | |
| 735 | /** |
no outgoing calls
no test coverage detected