Class Reader2Writer


  • public class Reader2Writer
    extends Object
    Reader2Writer This is a simple converter that is constructed with an XMLStreamReader and allows you to write the contents to an XMLStreamWriter.
    • Constructor Detail

      • Reader2Writer

        public Reader2Writer​(XMLStreamReader reader)
        Construct from a Reader
        Parameters:
        reader - -- the input to the converter
      • Reader2Writer

        public Reader2Writer​(XMLStreamReader reader,
                             boolean closeReader)
        Construct from a Reader
        Parameters:
        reader - -- the input to the converter
        closeReader - -- close the reader upon completion