de.smartics.exceptions.report.utils
Class CopyReader

Package class diagram package CopyReader
java.lang.Object
  extended by de.smartics.exceptions.report.utils.CopyReader

public class CopyReader
     
     
extends Object

Copies XML information read from one source to another.


Constructor Summary
CopyReader(XMLStreamWriter xmlWriter)
          Default constructor.
 
Method Summary
 void copy(String xmlFragment)
          Copies the XML fragment to the writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyReader

public CopyReader(XMLStreamWriter xmlWriter)
Default constructor.

Parameters:
xmlWriter - the writer to write to.
Method Detail

copy

public void copy(String xmlFragment)
          throws XMLStreamException
Copies the XML fragment to the writer.

Parameters:
xmlFragment - the XML fragment to read and write to the writer.
Throws:
XMLStreamException - on any problem reading from the fragment.


Copyright © 2007-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.