List of utility methods to do XML Node to Element
boolean | isElementNamed(Node node, String name) is Element Named if (node == null) { return false; if (node.getNodeType() != Node.ELEMENT_NODE) { return false; return getElementName(node).equals(name); |
boolean | isElementNode(final Node target) Tests to see if target 's getNodeType() method returns Node.ELEMENT_NODE .
return Node.ELEMENT_NODE == target.getNodeType();
|
boolean | isElementNode(Node n) is Element Node return (n.getNodeType() == Node.ELEMENT_NODE);
|
boolean | isElementNode(Node n) Check whether a given XML Node is an element node.
return n != null && n.getNodeType() == Node.ELEMENT_NODE;
|
boolean | isElementNode(Node target) is Element Node return Node.ELEMENT_NODE == target.getNodeType();
|
boolean | isElementNode(Node target) Verifies if the given target node is an element. return Node.ELEMENT_NODE == target.getNodeType();
|