Class XMLUtil


  • public abstract class XMLUtil
    extends Object
    Various utility methods for working with XML.
    • Constructor Detail

      • XMLUtil

        public XMLUtil()
    • Method Detail

      • getTextContent

        public static String getTextContent​(Node element)
        Extracts the text from the given element. Node.getTextContent() returns the text from ALL children, this returns the text only for this element.