Name
hasChildNodes( )
Synopsis
Provides a quick way to determine if a node has
children. Returns true
if the
node has any children; otherwise, it returns false
.
Java binding
public boolean hasChildNodes( );
Get XML in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.