public interface XmlStreamWriterTemplate
Modifier and Type | Method and Description |
---|---|
void |
execute(Writer writer,
XmlStreamWriterCallback callback)
Executes the specified callback and writes to the provided writer.
|
String |
execute(XmlStreamWriterCallback callback)
Deprecated.
since 5.2 - use the streaming version of the method
execute(java.io.Writer, XmlStreamWriterCallback) |
@Deprecated String execute(XmlStreamWriterCallback callback) throws XMLStreamException, XhtmlException
execute(java.io.Writer, XmlStreamWriterCallback)
callback
- the stream writer will be exposed to this callback for writingXMLStreamException
XhtmlException
void execute(Writer writer, XmlStreamWriterCallback callback) throws XMLStreamException, IOException
callback
- the stream writer will be exposed to this callback for writingwriter
- the writer to which the output should be sentXMLStreamException
XhtmlException
IOException
Copyright © 2003–2018 Atlassian. All rights reserved.