@ParametersAreNonnullByDefault public class IndentingXmiStreamWriter extends XmiStreamWriter
XmiStreamWriter.writertarget| Constructor and Description |
|---|
IndentingXmiStreamWriter(OutputStream stream)
Constructs a new
IndentingXmiStreamWriter on the given stream. |
IndentingXmiStreamWriter(OutputStream stream,
int indent)
Constructs a new
IndentingXmiStreamWriter on the given stream. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
writeEndElement()
Writes the end of the current element.
|
protected void |
writeStartElement(String name)
Writes the start of an element
name |
writeAttribute, writeCharacters, writeEndDocument, writeNamespace, writeStartDocumentonAttribute, onComplete, onEndElement, onInitialize, onReference, onStartElementrequireEndBeforeFlushonAttribute, onReferencepublic IndentingXmiStreamWriter(OutputStream stream) throws IOException
IndentingXmiStreamWriter on the given stream.stream - the output stream to writeIOException - if an I/O error occurs when writingpublic IndentingXmiStreamWriter(OutputStream stream, @Nonnegative int indent) throws IOException
IndentingXmiStreamWriter on the given stream.stream - the output stream to writeIOException - if an I/O error occurs when writingprotected void writeStartElement(String name) throws IOException
AbstractXmiStreamWriternamewriteStartElement in class XmiStreamWritername - the name of the elementIOException - if an I/O error occurs when writingprotected void writeEndElement()
throws IOException
AbstractXmiStreamWriterwriteEndElement in class XmiStreamWriterIOException - if an I/O error occurs when writingCopyright © 2013–2019 Atlanmod. All rights reserved.