public class DefaultXmlStreamWriterTemplate extends Object implements XmlStreamWriterTemplate
| Constructor and Description |
|---|
DefaultXmlStreamWriterTemplate(XMLOutputFactory xmlFragmentOutputFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Writer writer,
XmlStreamWriterCallback callback)
Executes the specified callback and writes to the provided writer.
|
public DefaultXmlStreamWriterTemplate(XMLOutputFactory xmlFragmentOutputFactory)
public void execute(Writer writer, XmlStreamWriterCallback callback) throws XMLStreamException, IOException
XmlStreamWriterTemplateexecute in interface XmlStreamWriterTemplatewriter - the writer to which the output should be sentcallback - the stream writer will be exposed to this callback for writingXMLStreamExceptionIOExceptionCopyright © 2003–2022 Atlassian. All rights reserved.