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
XmlStreamWriterTemplate
execute
in interface XmlStreamWriterTemplate
writer
- the writer to which the output should be sentcallback
- the stream writer will be exposed to this callback for writingXMLStreamException
IOException
Copyright © 2003–2021 Atlassian. All rights reserved.