Package Summary  Overview Summary

method:marshal(java.lang.Object, java.io.OutputStream) [CHANGED]

  • marshal

    public final void marshal(java.lang.Object obj,
                              java.io.OutputStream os)
                       throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into an output stream.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    obj - The root of content tree to be marshalled.
    os - XML will be added to this stream.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal objjaxbElement (or any object reachable from objjaxbElement ). See Marshalling a JAXB element .
  • marshal

    public final void marshal(java.lang.Object obj,
                              java.io.OutputStream os)
                       throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into an output stream.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    obj - The root of content tree to be marshalled.
    os - XML will be added to this stream.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal obj (or any object reachable from obj). See Marshalling a JAXB element .
  • marshal

    public final void marshal(java.lang.Object obj,
                              java.io.OutputStream os)
                       throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into an output stream.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    obj - The root of content tree to be marshalled.
    os - XML will be added to this stream.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal jaxbElement (or any object reachable from jaxbElement). See Marshalling a JAXB element .

method:marshal(java.lang.Object, java.io.File) [CHANGED]

  • marshal

    public void marshal(java.lang.Object jaxbElement,
                        java.io.File output)
                 throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into a file.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    jaxbElement - The root of content tree to be marshalled.
    output - File to be written. If this file already exists, it will be overwritten.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal objjaxbElement (or any object reachable from objjaxbElement ). See Marshalling a JAXB element .
  • marshal

    public void marshal(java.lang.Object jaxbElement,
                        java.io.File output)
                 throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into a file.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    jaxbElement - The root of content tree to be marshalled.
    output - File to be written. If this file already exists, it will be overwritten.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal obj (or any object reachable from obj). See Marshalling a JAXB element .
  • marshal

    public void marshal(java.lang.Object jaxbElement,
                        java.io.File output)
                 throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into a file.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    jaxbElement - The root of content tree to be marshalled.
    output - File to be written. If this file already exists, it will be overwritten.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal jaxbElement (or any object reachable from jaxbElement). See Marshalling a JAXB element .

method:marshal(java.lang.Object, java.io.Writer) [CHANGED]

  • marshal

    public final void marshal(java.lang.Object obj,
                              java.io.Writer w)
                       throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into a Writer.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    obj - The root of content tree to be marshalled.
    w - XML will be sent to this writer.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal objjaxbElement (or any object reachable from objjaxbElement ). See Marshalling a JAXB element .
  • marshal

    public final void marshal(java.lang.Object obj,
                              java.io.Writer w)
                       throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into a Writer.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    obj - The root of content tree to be marshalled.
    w - XML will be sent to this writer.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal obj (or any object reachable from obj). See Marshalling a JAXB element .
  • marshal

    public final void marshal(java.lang.Object obj,
                              java.io.Writer w)
                       throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into a Writer.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    obj - The root of content tree to be marshalled.
    w - XML will be sent to this writer.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal jaxbElement (or any object reachable from jaxbElement). See Marshalling a JAXB element .

method:marshal(java.lang.Object, org.xml.sax.ContentHandler) [CHANGED]

  • marshal

    public final void marshal(java.lang.Object obj,
                              org.xml.sax.ContentHandler handler)
                       throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into SAX2 events.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    obj - The root of content tree to be marshalled.
    handler - XML will be sent to this handler as SAX2 events.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal objjaxbElement (or any object reachable from objjaxbElement ). See Marshalling a JAXB element .
  • marshal

    public final void marshal(java.lang.Object obj,
                              org.xml.sax.ContentHandler handler)
                       throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into SAX2 events.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    obj - The root of content tree to be marshalled.
    handler - XML will be sent to this handler as SAX2 events.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal obj (or any object reachable from obj). See Marshalling a JAXB element .
  • marshal

    public final void marshal(java.lang.Object obj,
                              org.xml.sax.ContentHandler handler)
                       throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into SAX2 events.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    obj - The root of content tree to be marshalled.
    handler - XML will be sent to this handler as SAX2 events.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal jaxbElement (or any object reachable from jaxbElement). See Marshalling a JAXB element .

method:marshal(java.lang.Object, javax.xml.stream.XMLEventWriter) [CHANGED]

  • marshal

    public void marshal(java.lang.Object obj,
                        javax.xml.stream.XMLEventWriter writer)
                 throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into a XMLEventWriter.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    obj - The content tree rooted at jaxbElement to be marshalled.
    writer - XML will be sent to this writer.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal objjaxbElement (or any object reachable from objjaxbElement ). See Marshalling a JAXB element .
  • marshal

    public void marshal(java.lang.Object obj,
                        javax.xml.stream.XMLEventWriter writer)
                 throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into a XMLEventWriter.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    obj - The content tree rooted at jaxbElement to be marshalled.
    writer - XML will be sent to this writer.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal obj (or any object reachable from obj). See Marshalling a JAXB element .
  • marshal

    public void marshal(java.lang.Object obj,
                        javax.xml.stream.XMLEventWriter writer)
                 throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into a XMLEventWriter.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    obj - The content tree rooted at jaxbElement to be marshalled.
    writer - XML will be sent to this writer.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal jaxbElement (or any object reachable from jaxbElement). See Marshalling a JAXB element .

method:marshal(java.lang.Object, javax.xml.stream.XMLStreamWriter) [CHANGED]

  • marshal

    public void marshal(java.lang.Object obj,
                        javax.xml.stream.XMLStreamWriter writer)
                 throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into a XMLStreamWriter.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    obj - The content tree to be marshalled.
    writer - XML will be sent to this writer.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal objjaxbElement (or any object reachable from objjaxbElement ). See Marshalling a JAXB element .
  • marshal

    public void marshal(java.lang.Object obj,
                        javax.xml.stream.XMLStreamWriter writer)
                 throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into a XMLStreamWriter.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    obj - The content tree to be marshalled.
    writer - XML will be sent to this writer.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal obj (or any object reachable from obj). See Marshalling a JAXB element .
  • marshal

    public void marshal(java.lang.Object obj,
                        javax.xml.stream.XMLStreamWriter writer)
                 throws JAXBException
    
    Description copied from interface: Marshaller
    Marshal the content tree rooted at jaxbElement into a XMLStreamWriter.
    Specified by:
    marshal in interface Marshaller
    Parameters:
    obj - The content tree to be marshalled.
    writer - XML will be sent to this writer.
    Throws:
    JAXBException - If any unexpected problem occurs during the marshalling.
    MarshalException - If the ValidationEventHandler returns false from its handleEvent method or the Marshaller is unable to marshal jaxbElement (or any object reachable from jaxbElement). See Marshalling a JAXB element .