public List < VoltXMLElement > findChildren ( String name ) { List < VoltXMLElement > retval = new ArrayList <> ( ) ; for ( VoltXMLElement vxe : children ) { if ( name . equals ( vxe . name ) ) { retval . add ( vxe ) ; } } return retval ; }
Given a name find all the immediate children with matching name if any .