Interface XmlProducer

    • Method Detail

      • writeXML

        StringBuilder writeXML​(StringBuilder target)
        Append the XML representation of this object's data to a StringBuilder.
        Parameters:
        target - the StringBuilder to append to.
        Returns:
        the target passed in is also returned (to allow chaining).
      • toXML

        default String toXML()
        Convenience method equivalent to: writeXML(new StringBuilder()).toString()
        Returns:
        String containing XML representation of this object's data.