Class JDOMWriter

  • All Implemented Interfaces:
    org.jibx.runtime.IXMLWriter

    public class JDOMWriter
    extends org.jibx.runtime.impl.XMLWriterNamespaceBase
    JDOM implementation of XML writer interface. The Document that is created can be accessed by using getDocument().
    Version:
    1.0
    Author:
    Andreas Brenk
    • Constructor Detail

      • JDOMWriter

        public JDOMWriter​(String[] namespaces)
        Creates a new instance with the given namespace URIs.
        Parameters:
        namespaces - namespaces
      • JDOMWriter

        public JDOMWriter​(String[] namespaces,
                          org.jdom.Document document)
        Creates a new instance with the given Document as target for marshalling.
        Parameters:
        namespaces - Namespaces list
        document - must not be null
      • JDOMWriter

        public JDOMWriter​(String[] namespaces,
                          org.jdom.Element currentElement)
        Creates a new instance with the given Element as target for marshalling.
        Parameters:
        namespaces - Namespaces list
        currentElement - must not be null