Class Xml

java.lang.Object
dev.voidframework.core.helper.Xml

public final class Xml extends Object
Helper to handle XML document.
  • Constructor Details

    • Xml

      public Xml()
  • Method Details

    • toString

      public static String toString(Document xml)
      Converts an XML to string.
      Parameters:
      xml - The XML to convert.
      Returns:
      The string representation.
    • toXml

      public static Document toXml(byte[] data)
      Converts a byte array to an XML document.
      Parameters:
      data - data to convert in XML
      Returns:
      The XML document