public class XmlUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static nu.xom.Element |
getChild(nu.xom.Element parentElement,
java.lang.String childName)
Returns a child
Element of a parent element. |
@NotNull public static nu.xom.Element getChild(@NotNull nu.xom.Element parentElement, @NotNull java.lang.String childName)
Element
of a parent element. The child element
must exist.parentElement
- the parent elementchildName
- the name of the child element