Java XML Node to Element isElement(Node node)

Here you can find the source of isElement(Node node)

Description

is Element

License

Open Source License

Declaration

public static boolean isElement(Node node) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import org.w3c.dom.Node;

public class Main {
    public static boolean isElement(Node node) {
        return node.getNodeType() == Node.ELEMENT_NODE;
    }/*from ww  w.j  a va2s  .  c  om*/
}

Related

  1. isElement(final Node n)
  2. isElement(Node e)
  3. isElement(Node node)
  4. isElement(Node node)
  5. isElement(Node node)
  6. isElement(Node node)
  7. isElement(Node node, String name)
  8. isElementByTag(Node node, String tagName)