Class DefaultXmlStreamWriterTemplate
java.lang.Object
com.atlassian.confluence.content.render.xhtml.DefaultXmlStreamWriterTemplate
- All Implemented Interfaces:
- XmlStreamWriterTemplate
Encapsulates the boiler plate around creating a stream writer.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidexecute(Writer writer, XmlStreamWriterCallback callback) Executes the specified callback and writes to the provided writer.
- 
Constructor Details- 
DefaultXmlStreamWriterTemplate
 
- 
- 
Method Details- 
executepublic void execute(Writer writer, XmlStreamWriterCallback callback) throws XMLStreamException, IOException Description copied from interface:XmlStreamWriterTemplateExecutes the specified callback and writes to the provided writer.- Specified by:
- executein interface- XmlStreamWriterTemplate
- Parameters:
- writer- the writer to which the output should be sent
- callback- the stream writer will be exposed to this callback for writing
- Throws:
- XMLStreamException
- IOException
 
 
-