public static Stream<Element> elementsIn(Element parent) {
    return nodesIn(parent).filter(n -> n.getNodeType() == Node.ELEMENT_NODE)
      .map(n -> (Element)n);
  }
public static Stream<Element> elementsIn(Element parent) {
    return nodesIn(parent).filter(n -> n.getNodeType() == Node.ELEMENT_NODE)
      .map(n -> (Element)n);
  }
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.
@param parent The parent of the elements to return
@return The children of the parent element
Return the elements under a given parent element .