Class TXW


  • public abstract class TXW
    extends Object
    Entry point to TXW.
    Author:
    Kohsuke Kawaguchi
    • Method Detail

      • create

        public static <T extends TypedXmlWriter> T create​(Class<T> rootElement,
                                                          XmlSerializer out)
        Creates a new TypedXmlWriter to write a new instance of a document.
        Parameters:
        rootElement - The TypedXmlWriter interface that declares the content model of the root element. This interface must have XmlElement annotation on it to designate the tag name of the root element.
        out - The target of the writing.