Class XMLUtils


  • public class XMLUtils
    extends Object
    Utility class to easily convert an XML object to its String representation.
    • Constructor Detail

      • XMLUtils

        public XMLUtils()
    • Method Detail

      • getStringFromElement

        public static String getStringFromElement​(Element element)
        Convert an XML element to its String representation.
        Parameters:
        element - element to convert to a string
        Returns:
        XML string, or null in the result of a TransformerException