public class DOMCloner extends Object
Constructor and Description |
---|
DOMCloner() |
Modifier and Type | Method and Description |
---|---|
Document |
cloneDocument(DOMImplementation domImpl,
Document document)
Deep-clone a document.
|
Node |
cloneNode(Document doc,
Node eold)
Clone an existing node.
|
void |
copyAttributes(Document doc,
Element eold,
Element enew)
Copy the attributes from an existing node to a new node.
|
public Document cloneDocument(DOMImplementation domImpl, Document document)
domImpl
- DOM implementation to usedocument
- Original documentpublic Node cloneNode(Document doc, Node eold)
doc
- Documenteold
- Existing nodeCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.