Java XML NodeList isListEmpty(NodeList list)

Here you can find the source of isListEmpty(NodeList list)

Description

is List Empty

License

Open Source License

Declaration

public static boolean isListEmpty(NodeList list) 

Method Source Code

//package com.java2s;

import org.w3c.dom.*;

public class Main {
    public static boolean isListEmpty(NodeList list) {
        return list.getLength() == 0;
    }//  ww w . j  av  a 2  s. c o  m
}

Related

  1. hasElementNodes(NodeList list)
  2. hasImageNodes(NodeList nodeList)
  3. indexOf(NodeList nodeList, String tagName, int startIdx)
  4. isEmpty(@Nullable final NodeList aNL)
  5. isEmpty(NodeList nl)
  6. isNodeListEmpty(final NodeList nodeList)
  7. isNotEmpty(NodeList nodeList)
  8. isNullOrEmpty(NodeList nodeList)
  9. iterable(final NodeList list)