public class XmlUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static @NotNull nu.xom.Element |
getChild(@NotNull nu.xom.Element parentElement,
@NotNull java.lang.String childName)
Returns a child
Element of a parent element. |
@NotNull public static @NotNull nu.xom.Element getChild(@NotNull @NotNull nu.xom.Element parentElement, @NotNull @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