public class WrappedWriter extends Object
| Constructor and Description |
|---|
WrappedWriter(OutputStream os,
int indent) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeElement()
Write element end tag.
|
void |
closeNested(int count)
Close nested element end tags.
|
void |
init(String name,
String ident)
Initialize writer state.
|
void |
openElement(String name)
Write element start tag.
|
void |
term()
Finish writing document.
|
void |
writeElement(String text,
String name)
Write complete element with text content.
|
void |
writeNested(String text,
String... names)
Write nested element.
|
public WrappedWriter(OutputStream os, int indent) throws XMLStreamException
XMLStreamExceptionpublic void init(String name, String ident) throws XMLStreamException
name - DTD document nameident - DTD document system identifierXMLStreamExceptionpublic void term()
throws XMLStreamException
XMLStreamExceptionpublic void openElement(String name) throws XMLStreamException
name - XMLStreamExceptionpublic void writeElement(String text, String name) throws XMLStreamException
text - name - XMLStreamExceptionpublic void closeElement()
throws XMLStreamException
XMLStreamExceptionpublic void writeNested(String text, String... names) throws XMLStreamException
text - names - XMLStreamExceptionpublic void closeNested(int count)
throws XMLStreamException
count - XMLStreamExceptionCopyright © 2025 MuleSoft, Inc.. All rights reserved.