de.smartics.xml
Class DomCopyReader

Package class diagram package DomCopyReader
java.lang.Object
  extended by de.smartics.xml.DomCopyReader

public class DomCopyReader
     
     
extends Object

Copies XML information read from one source to another.

Author:
Robert Reiner

Constructor Summary
DomCopyReader(Document document, Element element)
          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

DomCopyReader

public DomCopyReader(Document document,
                     Element element)
Default constructor.

Parameters:
document - the document to create elements for.
element - the element 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 © 2010-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.