public class Reader2Writer extends Object
| Constructor and Description |
|---|
Reader2Writer(XMLStreamReader reader)
Construct from a Reader
|
Reader2Writer(XMLStreamReader reader,
boolean closeReader)
Construct from a Reader
|
public Reader2Writer(XMLStreamReader reader)
reader - -- the input to the converterpublic Reader2Writer(XMLStreamReader reader, boolean closeReader)
reader - -- the input to the convertercloseReader - -- close the reader upon completionpublic void outputTo(XMLStreamWriter writer) throws XMLStreamException
writer - -- the output of the converterXMLStreamExceptionCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.