| Modifier and Type | Field and Description |
|---|---|
| private final Context | |
| private final SingleElementXMLStreamWriter | |
| private final AttributeValueEscapingWriter | |
| private final Transformer | |
| private final XMLStreamWriter |
| Access | Constructor and Description |
|---|---|
| pack-priv | DefaultDocumentWriter(QualifiedName rootElementName, NamespaceRegistry namespaceRegistry, Writer writer)
|
| Modifier and Type | Method and Description |
|---|---|
| public synchronized <C extends ChildElement | |
| private static BufferedWriter | |
| public void | close()
Implements java. Closes this stream and releases any system resources associated with it. |
| private void | |
| private void | |
| private void | |
| private void |
| context | back to summary |
|---|---|
| private final Context context | |
| elementXmlWriter | back to summary |
|---|---|
| private final SingleElementXMLStreamWriter elementXmlWriter | |
| out | back to summary |
|---|---|
| private final AttributeValueEscapingWriter out | |
| transformer | back to summary |
|---|---|
| private final Transformer transformer | |
| xmlWriter | back to summary |
|---|---|
| private final XMLStreamWriter xmlWriter | |
| DefaultDocumentWriter | back to summary |
|---|---|
| pack-priv DefaultDocumentWriter(QualifiedName rootElementName, NamespaceRegistry namespaceRegistry, Writer writer) throws Exception | |
| append | back to summary |
|---|---|
| public synchronized <C extends ChildElement Implements org. Doc from org. Append the child element created by the supplied factory configured by the supplied consumer.
| |
| buffered | back to summary |
|---|---|
| private static BufferedWriter buffered(Writer writer) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| writeNamespaces | back to summary |
|---|---|
| private void writeNamespaces(NamespaceRegistry namespaceRegistry) throws XMLStreamException | |
| writeNewLine | back to summary |
|---|---|
| private void writeNewLine() throws IOException, XMLStreamException | |
| writeSchemaLocations | back to summary |
|---|---|
| private void writeSchemaLocations(NamespaceRegistry namespaceRegistry) throws XMLStreamException | |
| writeStartElement | back to summary |
|---|---|
| private void writeStartElement(QualifiedName rootElement, NamespaceRegistry namespaceRegistry) throws XMLStreamException | |