@ParametersAreNonnullByDefault public class XmiStreamWriter extends AbstractXmiStreamWriter
AbstractXmiStreamWriter that uses a StAX implementation with cursors for writing XMI files.| Modifier and Type | Field and Description | 
|---|---|
| protected XMLStreamWriter | writerThe XML writer on the  AbstractWriter.target. | 
target| Constructor and Description | 
|---|
| XmiStreamWriter(OutputStream stream)Constructs a new  XmiStreamWriteron the givenstream. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | writeAttribute(String name,
              String value)Writes an attribute of the current element. | 
| protected void | writeCharacters(String characters)Writes characters. | 
| protected void | writeEndDocument()Writes the end of the document and finalizes the migration. | 
| protected void | writeEndElement()Writes the end of the current element. | 
| protected void | writeNamespace(String prefix,
              String uri)Writes a namespace. | 
| protected void | writeStartDocument()Writes the start of a document, including the general header. | 
| protected void | writeStartElement(String name)Writes the start of an element  name | 
onAttribute, onComplete, onEndElement, onInitialize, onReference, onStartElementrequireEndBeforeFlushonAttribute, onReference@Nonnull protected final XMLStreamWriter writer
AbstractWriter.target.public XmiStreamWriter(OutputStream stream) throws IOException
XmiStreamWriter on the given stream.stream - the output stream to writeIOException - if an I/O error occurs when writingprotected void writeStartDocument()
                           throws IOException
AbstractXmiStreamWriterwriteStartDocument in class AbstractXmiStreamWriterIOException - if an I/O error occurs when writingprotected void writeStartElement(String name) throws IOException
AbstractXmiStreamWriternamewriteStartElement in class AbstractXmiStreamWritername - the name of the elementIOException - if an I/O error occurs when writingprotected void writeNamespace(String prefix, String uri) throws IOException
AbstractXmiStreamWriterwriteNamespace in class AbstractXmiStreamWriterprefix - the prefix of the namespaceuri - the URI of the namespaceIOException - if an I/O error occurs when writingprotected void writeAttribute(String name, String value) throws IOException
AbstractXmiStreamWriterwriteAttribute in class AbstractXmiStreamWritername - the name of the attributevalue - the value of the attributeIOException - if an I/O error occurs when writingprotected void writeCharacters(String characters) throws IOException
AbstractXmiStreamWriterwriteCharacters in class AbstractXmiStreamWritercharacters - the charactersIOException - if an I/O error occurs when writingprotected void writeEndElement()
                        throws IOException
AbstractXmiStreamWriterwriteEndElement in class AbstractXmiStreamWriterIOException - if an I/O error occurs when writingprotected void writeEndDocument()
                         throws IOException
AbstractXmiStreamWriterwriteEndDocument in class AbstractXmiStreamWriterIOException - if an I/O error occurs when writingCopyright © 2013–2019 Atlanmod. All rights reserved.