| Package | Description |
|---|---|
| com.sun.xml.bind.v2.runtime |
Code that implements JAXBContext, Unmarshaller, and Marshaller.
|
| com.sun.xml.bind.v2.runtime.output |
Code that writes well-formed XML (
XmlOutput and its implementations}. |
| Modifier and Type | Method | Description |
|---|---|---|
XmlOutput |
MarshallerImpl.createWriter(java.io.OutputStream os) |
|
XmlOutput |
MarshallerImpl.createWriter(java.io.OutputStream os,
java.lang.String encoding) |
|
XmlOutput |
MarshallerImpl.createWriter(java.io.Writer w) |
|
XmlOutput |
MarshallerImpl.createWriter(java.io.Writer w,
java.lang.String encoding) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
MarshallerImpl.marshal(java.lang.Object obj,
XmlOutput output) |
|
void |
XMLSerializer.startDocument(XmlOutput out,
boolean fragment,
java.lang.String schemaLocation,
java.lang.String noNsSchemaLocation) |
Reset this object to write to the specified output.
|
protected <T> void |
MarshallerImpl.write(Name rootTagName,
JaxBeanInfo<T> bi,
T obj,
XmlOutput out,
java.lang.Runnable postInitAction) |
Used by
BridgeImpl to write an arbitrary object as a fragment. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
C14nXmlOutput |
XmlOutput that generates canonical XML. |
class |
DOMOutput |
XmlOutput implementation that does associative marshalling to DOM. |
class |
FastInfosetStreamWriterOutput |
XmlOutput for StAXDocumentSerializer. |
class |
ForkXmlOutput |
|
class |
IndentingUTF8XmlOutput |
UTF8XmlOutput with indentation. |
class |
MTOMXmlOutput |
XmlOutput decorator that supports MTOM. |
class |
SAXOutput |
XmlOutput implementation that writes to SAX ContentHandler. |
class |
StAXExStreamWriterOutput |
XmlOutput for XMLStreamWriterEx. |
class |
UTF8XmlOutput |
XmlOutput implementation specialized for UTF-8. |
class |
XMLEventWriterOutput |
XmlOutput that writes to StAX XMLEventWriter. |
class |
XmlOutputAbstractImpl |
Abstract implementation of
XmlOutput
Implements the optimal methods, where defer to
the non-optimal methods. |
class |
XMLStreamWriterOutput |
XmlOutput that writes to StAX XMLStreamWriter. |
| Modifier and Type | Method | Description |
|---|---|---|
static XmlOutput |
XMLStreamWriterOutput.create(javax.xml.stream.XMLStreamWriter out,
JAXBContextImpl context,
com.sun.xml.bind.marshaller.CharacterEscapeHandler escapeHandler) |
Creates a new
XmlOutput from a XMLStreamWriter. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
NamespaceContextImpl.Element.endElement(XmlOutput out) |
|
void |
NamespaceContextImpl.Element.startElement(XmlOutput out,
java.lang.Object innerPeer) |
| Constructor | Description |
|---|---|
ForkXmlOutput(XmlOutput lhs,
XmlOutput rhs) |
|
MTOMXmlOutput(XmlOutput next) |
Copyright © 2017 Oracle Corporation. All rights reserved.