public final class StaxStreamWriter extends Object implements NodeStreamWriter
| Constructor and Description |
|---|
StaxStreamWriter(ImportExportErrorService errorService,
Writer output,
Charset charset,
String nameSpaceUri)
Creates a new StAX document with the default namespace set to the specified
uri.
|
| Modifier and Type | Method and Description |
|---|---|
NodeCreator |
addRootNode(String name)
Creates the root node for the graph.
|
void |
close() |
void |
flush() |
public StaxStreamWriter(ImportExportErrorService errorService, Writer output, Charset charset, String nameSpaceUri)
public NodeCreator addRootNode(String name)
NodeStreamWriteraddRootNode in interface NodeStreamWriterpublic void flush()
flush in interface NodeStreamWriterpublic void close()
close in interface NodeStreamWriterclose in interface Closeableclose in interface AutoCloseableCopyright © 2018 Atlassian. All rights reserved.