org.jtool.jxplatform.dom
Class DomCopier

java.lang.Object
  extended byorg.jtool.jxplatform.dom.DomCopier

public class DomCopier
extends java.lang.Object

Produces copies of DOM object trees.

Author:
Katsuhisa Maruyama

Constructor Summary
DomCopier()
           
 
Method Summary
static org.w3c.dom.Document copy(org.w3c.dom.Document doc)
          Creates a copy of the DOM object tree and returns a new DOM document object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomCopier

public DomCopier()
Method Detail

copy

public static org.w3c.dom.Document copy(org.w3c.dom.Document doc)
Creates a copy of the DOM object tree and returns a new DOM document object.

Parameters:
doc - A DOM document object.
Returns:
The DOM document object which is the root of the copied DOM object tree.