Interface XmlStreamWriterTemplate
-
- All Known Implementing Classes:
DefaultXmlStreamWriterTemplate
public interface XmlStreamWriterTemplate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute(Writer writer, XmlStreamWriterCallback callback)Executes the specified callback and writes to the provided writer.
-
-
-
Method Detail
-
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:
XMLStreamExceptionXhtmlExceptionIOException
-
-