Java XML Has Child hasChildren(final Node node)

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

Description

has Children

License

Apache License

Declaration

public static final boolean hasChildren(final Node node) 

Method Source Code

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

import org.w3c.dom.Node;

public class Main {
    public static final boolean hasChildren(final Node node) {
        return node == null ? false : node.hasChildNodes();
    }//from   ww w. ja  va2 s  .  c om
}

Related

  1. hasChildren(Element e)
  2. hasChildren(Element element)
  3. hasChildren(Element element)
  4. hasChildren(Element element, String childName)
  5. hasChildren(final Element el)
  6. hasElementChild(Node node)
  7. hasElementChild(Node node)
  8. hasElementChildren(Element element)
  9. hasElementChildren(Element elemNode)