Java XML Node Value Check isNodeNameEquals(Node node, String desiredName)

Here you can find the source of isNodeNameEquals(Node node, String desiredName)

Description

is Node Name Equals

License

Open Source License

Declaration

public static boolean isNodeNameEquals(Node node, String desiredName) 

Method Source Code

//package com.java2s;
/*/*ww w .  j a v a2s  .c  o  m*/
 * This file is part of Dorado 7.x (http://dorado7.bsdn.org).
 * 
 * Copyright (c) 2002-2012 BSTEK Corp. All rights reserved.
 * 
 * This file is dual-licensed under the AGPLv3 (http://www.gnu.org/licenses/agpl-3.0.html) 
 * and BSDN commercial (http://www.bsdn.org/licenses) licenses.
 * 
 * If you are unsure which license is appropriate for your use, please contact the sales department
 * at http://www.bstek.com/contact.
 */

import org.w3c.dom.Node;

public class Main {

    public static boolean isNodeNameEquals(Node node, String desiredName) {
        return org.springframework.util.xml.DomUtils.nodeNameEquals(node, desiredName);
    }
}

Related

  1. isLeaf(Node node)
  2. isMixed(org.w3c.dom.Node node)
  3. isNamedElement(final Node aNode)
  4. isNode(Object value, String nodeName)
  5. isNodeAfter(Node node1, Node node2)
  6. isNodeTheSame(Node node1, Node node2)
  7. isNodeTypeElement(Node node)
  8. isNullOrEmpty(Node node)
  9. isOrphanNode(Node node)