public static Stream < Element > elementsIn ( Element parent ) { return nodesIn ( parent ) . filter ( n -> n . getNodeType ( ) == Node . ELEMENT_NODE ) . map ( n -> ( Element ) n ) ; }
Return the elements under a given parent element .