You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because JHierarchyXML is designed for the shortest possible code, asking for a child which does not exist will return a special case element or property.
This special case has null for its name and value.
Asking for children/properties will return an empty list
Since it has no children, asking for a child/property will return the special case again.
As a result, you will always avoid NullPointerExceptions.
To see if the element/property actually exists, use the exists() function.