bundles/org.apache.jasper.glassfish/src/org/apache/jasper/xmlparser/TreeNode.java
public TreeNode findChild(String name) {

        if (children == null)
            return (null);
        for (TreeNode item: children) {
            if (name.equals(item.getName()))
                return (item);
        }
        return (null);

    }
public TreeNode findChild(String name) {

        if (children == null)
            return (null);
        for (TreeNode item: children) {
            if (name.equals(item.getName()))
                return (item);
        }
        return (null);

    }
public TreeNode findChild ( String name ) { if ( children == null ) return ( null ) ; for ( TreeNode item : children ) { if ( name . equals ( item . getName ( ) ) ) return ( item ) ; } return ( null ) ; }
Return the first child node of this node with the specified name,
if there is one; otherwise, return <code>null</code>.

@param name Name of the desired child element
Return the first child node of this node with the specified name if there is one ; otherwise return <code > null< / code > .