Java XML Node Local Name getLocalName(final Node node)

Here you can find the source of getLocalName(final Node node)

Description

get Local Name

License

Apache License

Declaration

static String getLocalName(final Node node) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import org.w3c.dom.Node;

public class Main {
    static String getLocalName(final Node node) {
        final String result = node.getLocalName();
        return result != null ? result : node.getNodeName();
    }/*from w  w w . j  a v a 2 s .c  o m*/
}

Related

  1. getElementByTagNameNS(Node node, String namespaceURI, String localName)
  2. getLocalName(final Node n)
  3. getLocalName(Node el)
  4. getLocalName(Node element)
  5. getLocalName(Node node)
  6. getLocalName(Node node)