Class XmlWriter


  • public class XmlWriter
    extends Object
    Writing the Xml to json
    Author:
    Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
    See Also:
    xmlObject
    • Method Detail

      • writeXML

        public static void writeXML​(com.fasterxml.jackson.databind.node.ObjectNode parent,
                                    org.eclipse.microprofile.openapi.models.media.XML model)
        Writes a XML object to the JSON tree.
        Parameters:
        parent - the parent json node
        model - the XML model