Code example for Node

Methods: getLocalNamegetNodeName

0
    return (localName.equals(nodeLocalName));
  } 
 
  static String getLocalName(Node node)
  { 
    String localName = node.getLocalName();
    if (localName == null)
      { 
        localName = node.getNodeName();
        int ci = localName.indexOf(':');
        if (ci != -1)
          localName = localName.substring(ci + 1);
      } 
    return localName;
  } 
 
  static boolean equal(String s1, String s2)
  { 
    return (((s1 == null || s1.length() == 0) &&
             (s2 == null || s2.length() == 0)) ||
Connect your IDE to all the code out there  Get Codota for Java