Java XML Node Compare isNodeSame(org.w3c.dom.Node node1, org.w3c.dom.Node node2)

Here you can find the source of isNodeSame(org.w3c.dom.Node node1, org.w3c.dom.Node node2)

Description

is Node Same

License

Open Source License

Declaration

public static boolean isNodeSame(org.w3c.dom.Node node1, org.w3c.dom.Node node2) 

Method Source Code

//package com.java2s;
/*/*from  ww  w  .  j  a  v  a  2s .  c  om*/
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
 * This software is open source.
 * See the bottom of this file for the licence.
 */

public class Main {
    public static boolean isNodeSame(org.w3c.dom.Node node1, org.w3c.dom.Node node2) {
        return node1 == node2;
    }
}

Related

  1. compareTwoNodes(Node m, Node n)
  2. equalNode(Node nodeA, Node nodeB)
  3. equals(Node n1, Node n2)
  4. isDescendant(Node testNode, Node compareToNode)
  5. isNodeInNS(Node nodeToCompare, String nsuri, String tagName)