de.smartics.exceptions.report.utils
Class CopyReader
java.lang.Object
de.smartics.exceptions.report.utils.CopyReader
-
public class CopyReader
-
extends
Object
Copies XML information read from one source to another.
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 |
CopyReader
public CopyReader(XMLStreamWriter xmlWriter)
-
Default constructor.
-
Parameters:
-
xmlWriter
- the writer to write to.
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.