question: public static List < ? extends Element > childElementList ( DocumentFragment fragment ) { if ( fragment == null ) return null ; List < Element > elements = new LinkedList < Element > ( ) ; Node node = fragment . getFirstChild ( ) ; if ( node != null ) { do { if ( node . getNodeType ( ) == Node . ELEMENT_NODE ) { Element childElement = ( Element ) node ; elements . add ( childElement ) ; } } while ( ( node = node . getNextSibling ( ) ) != null ) ; } return elements ; }
target:  Return a List of Element objects that are children of the given DocumentFragment 