Class XmlUtils


  • public class XmlUtils
    extends java.lang.Object
    XML related utility functions.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getChild

        @NotNull
        public static @NotNull nu.xom.Element getChild​(@NotNull
                                                       @NotNull nu.xom.Element parentElement,
                                                       @NotNull
                                                       @NotNull java.lang.String childName)
        Returns a child Element of a parent element. The child element must exist.
        Parameters:
        parentElement - the parent element
        childName - the name of the child element
        Returns:
        the child element