Class Reader2Writer
java.lang.Object
org.apache.axis2.jaxws.message.util.Reader2Writer
Reader2Writer This is a simple converter that is constructed with an XMLStreamReader and allows
you to write the contents to an XMLStreamWriter.
-
Constructor Summary
ConstructorsConstructorDescriptionReader2Writer(XMLStreamReader reader) Construct from a ReaderReader2Writer(XMLStreamReader reader, boolean closeReader) Construct from a Reader -
Method Summary
-
Constructor Details
-
Reader2Writer
Construct from a Reader- Parameters:
reader- -- the input to the converter
-
Reader2Writer
Construct from a Reader- Parameters:
reader- -- the input to the convertercloseReader- -- close the reader upon completion
-
-
Method Details
-
outputTo
outputTo the writer.- Parameters:
writer- -- the output of the converter- Throws:
XMLStreamException
-