| Package | Description | 
|---|---|
| javax.xml.bind | 
        Provides a runtime binding framework for client applications including
        unmarshalling, marshalling, and validation capabilities. | 
| javax.xml.bind.helpers | 
        JAXB Provider Use Only: Provides partial default implementations for 
        some of the javax.xml.bind interfaces. | 
| javax.xml.stream | |
| javax.xml.transform.stax | 
                        Provides for StAX-specific transformation APIs. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Marshaller. marshal(Object jaxbElement,
       XMLEventWriter writer)Marshal the content tree rooted at jaxbElement into a
  XMLEventWriter. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AbstractMarshallerImpl. marshal(Object obj,
       XMLEventWriter writer) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract XMLEventWriter | XMLOutputFactory. createXMLEventWriter(OutputStream stream)Create a new XMLEventWriter that writes to a stream | 
| abstract XMLEventWriter | XMLOutputFactory. createXMLEventWriter(OutputStream stream,
                    String encoding)Create a new XMLEventWriter that writes to a stream | 
| abstract XMLEventWriter | XMLOutputFactory. createXMLEventWriter(Result result)Create a new XMLEventWriter that writes to a JAXP result. | 
| abstract XMLEventWriter | XMLOutputFactory. createXMLEventWriter(Writer stream)Create a new XMLEventWriter that writes to a writer | 
| Modifier and Type | Method and Description | 
|---|---|
| XMLEventWriter | StAXResult. getXMLEventWriter()Get the  XMLEventWriterused by thisStAXResult. | 
| Constructor and Description | 
|---|
| StAXResult(XMLEventWriter xmlEventWriter)Creates a new instance of a  StAXResultby supplying anXMLEventWriter. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.