/** * Get the children of this node * @return an {@link Iterable} containing all nodes on the child axis * @since 9.9 */ public Iterable<XdmNode> children() { return select(Steps.child()).asListOfNodes(); }
/** * Get the nodes found on the child axis that satisfy a supplied {@code Predicate}. * * @param filter the predicate to be applied * @return an {@link Iterable} containing those nodes found on the child axis that satisfy the supplied {@code Predicate}. * @since 9.9 */ public Iterable<XdmNode> children(Predicate<? super XdmNode> filter) { return select(Steps.child(filter)).asListOfNodes(); }
/** * Get the nodes found on the child axis that satisfy a supplied {@code Predicate}. * * @param filter the predicate to be applied * @return an {@link Iterable} containing those nodes found on the child axis that satisfy the supplied {@code Predicate}. * @since 9.9 */ public Iterable<XdmNode> children(Predicate<? super XdmNode> filter) { return select(Steps.child(filter)).asListOfNodes(); }
/** * Get the element children of this node having a specified * local name, irrespective of the namespace * * @param localName the local name of the child elements to be selected, * or "*" to select all children that are element nodes * @return an {@link Iterable} containing the element children of this node that have the * required local name. * @since 9.9 */ public Iterable<XdmNode> children(String localName) { return select(Steps.child(localName)).asListOfNodes(); }
/** * Get the children of this node * @return an {@link Iterable} containing all nodes on the child axis * @since 9.9 */ public Iterable<XdmNode> children() { return select(Steps.child()).asListOfNodes(); }
/** * Get the element children having a specified namespace URI and local name * * @param uri the namespace URI of the child elements to be selected: * supply a zero-length string to indicate the null namespace * @param localName the local name of the child elements to be selected * @return an {@link Iterable} containing the element children of this node that have the * required local name and namespace URI. * @since 9.9 */ public Iterable<XdmNode> children(String uri, String localName) { return select(Steps.child(uri, localName)).asListOfNodes(); }
/** * Get the element children of this node having a specified * local name, irrespective of the namespace * * @param localName the local name of the child elements to be selected, * or "*" to select all children that are element nodes * @return an {@link Iterable} containing the element children of this node that have the * required local name. * @since 9.9 */ public Iterable<XdmNode> children(String localName) { return select(Steps.child(localName)).asListOfNodes(); }
/** * Get the element children having a specified namespace URI and local name * * @param uri the namespace URI of the child elements to be selected: * supply a zero-length string to indicate the null namespace * @param localName the local name of the child elements to be selected * @return an {@link Iterable} containing the element children of this node that have the * required local name and namespace URI. * @since 9.9 */ public Iterable<XdmNode> children(String uri, String localName) { return select(Steps.child(uri, localName)).asListOfNodes(); }