Java XML Node to Element isElement(final Node n)

Here you can find the source of isElement(final Node n)

Description

is Element

License

LGPL

Declaration

public static boolean isElement(final Node n) 

Method Source Code

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

import org.w3c.dom.Element;
import org.w3c.dom.Node;

public class Main {
    public static boolean isElement(final Node n) {
        return n instanceof Element;
    }//  ww w. j  av a  2 s  . co  m
}

Related

  1. isElement(Node e)
  2. isElement(Node node)
  3. isElement(Node node)
  4. isElement(Node node)