Interface XmlStreamWriterTemplate
- All Known Implementing Classes:
DefaultXmlStreamWriterTemplate
public interface XmlStreamWriterTemplate
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(Writer writer, XmlStreamWriterCallback callback) Executes the specified callback and writes to the provided writer.
-
Method Details
-
execute
void execute(Writer writer, XmlStreamWriterCallback callback) throws XMLStreamException, IOException Executes the specified callback and writes to the provided writer.- Parameters:
callback
- the stream writer will be exposed to this callback for writingwriter
- the writer to which the output should be sent- Throws:
XMLStreamException
XhtmlException
IOException
-