public static boolean nodeNameEquals(Node node, String desiredName) {
        Assert.notNull(node, "Node must not be null");
        Assert.notNull(desiredName, "Desired name must not be null");
        return nodeNameMatch(node, desiredName);
    }
public static boolean nodeNameEquals(Node node, String desiredName) {
        Assert.notNull(node, "Node must not be null");
        Assert.notNull(desiredName, "Desired name must not be null");
        return nodeNameMatch(node, desiredName);
    }
public static boolean nodeNameEquals ( Node node , String desiredName ) { Assert . notNull ( node , "Node must not be null" ) ; Assert . notNull ( desiredName , "Desired name must not be null" ) ; return nodeNameMatch ( node , desiredName ) ; }
Namespace-aware equals comparison. Returns {@code true} if either
{@link org.w3c.dom.Node#getLocalName} or {@link org.w3c.dom.Node#getNodeName} equals
{@code desiredName}, otherwise returns {@code false}.
Namespace - aware equals comparison . Returns {