Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Add API org.apache.commons.configuration2.tree.ImmutableNode.getChildren(String):
/** * Returns a list with the children of this node. This list cannot be * modified. * @param name the node name to find * * @return a list with the child nodes */ public List<ImmutableNode> getChildren(final String name) { final List<ImmutableNode> list = new ArrayList<>(); if (name == null) { return list; } for (final ImmutableNode node : children) { if (name.equals(node.getNodeName())) { list.add(node); } } return list; }