XML Parser for Java 1.1.16

com.ibm.xml.domutil
Class DOMDuplicator

java.lang.Object
  |
  +--com.ibm.xml.domutil.DOMDuplicator

public class DOMDuplicator
extends java.lang.Object

This class will be removed after W3C DOM Level 2 is published.

Version:
Revision: 58 1.2 src/com/ibm/xml/domutil/DOMDuplicator.java, xml4jsrc, xml4j-jtcsv, xml4j_1_1_16

Constructor Summary
DOMDuplicator()
           
 
Method Summary
static Node cloneNode(Document factory, Node node)
          Clone a Node over documents including child nodes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMDuplicator

public DOMDuplicator()
Method Detail

cloneNode

public static Node cloneNode(Document factory,
                             Node node)
Clone a Node over documents including child nodes. This method supports Element, Text, CDATASection, Attr, ProcessingInstruction, Comment, EntityReference.
Parameters:
factory - A factory Document of new Node.
node - Source Node.

XML Parser for Java 1.1.16