de.smartics.xml
Class DomCopyReader
java.lang.Object
de.smartics.xml.DomCopyReader
-
public class DomCopyReader
-
extends
Object
Copies XML information read from one source to another.
-
Author:
-
Robert Reiner
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 |
DomCopyReader
public DomCopyReader(Document document,
Element element)
-
Default constructor.
-
Parameters:
-
document
- the document to create elements for.
-
element
- the element 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 © 2010-2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.