getChildValue
Get a child's value.
The first child with such name is used.
Observe: Because this method can return null, the following code is incorrect and can throw NullPointerException:
if (tree.getChildValue(CHILD).equals(VALUE))
{
…
}
Content copied to clipboard
if (VALUE.equals(tree.getChildValue(CHILD))
{
…
}
Content copied to clipboard
Return
The child's value or null if the child does not exist.
Parameters
name
The child's name