LibreOffice Module xmerge (master)  1
Static Public Member Functions | Static Private Member Functions | List of all members
org.openoffice.xmerge.util.XmlUtil Class Reference

Class containing static utility methods for handling XML trees. More...

Static Public Member Functions

static Node deepClone (Node oldNode, Node newNode)
 Perform a deep clone of certain. More...
static String getNodeInfo (Node node)
 Returns the name and type of an XML DOM. More...

Static Private Member Functions

static void cloneTree (Document docNode, Node oldNode, Node newNode)
 Clone the sub-tree under certain given. More...
static Node cloneNode (Document docNode, Node newNode)
 Clone a. More...

Detailed Description

Class containing static utility methods for handling XML trees.

Definition at line 30 of file

Member Function Documentation

static Node org.openoffice.xmerge.util.XmlUtil.cloneNode ( Document  docNode,
Node  newNode 

Clone a.

(either text or element).

docNodeThe used to clone the .
newNodeThe to clone.
The cloned .

Definition at line 85 of file

References i, and String.

Referenced by org.openoffice.xmerge.util.XmlUtil.cloneTree(), and org.openoffice.xmerge.util.XmlUtil.deepClone().

static void org.openoffice.xmerge.util.XmlUtil.cloneTree ( Document  docNode,
Node  oldNode,
Node  newNode 

Clone the sub-tree under certain given.


docNodeThe used to clone the .
oldNodeThe to clone.
newNodeThe destination .

Definition at line 63 of file

References org.openoffice.xmerge.util.XmlUtil.cloneNode(), and i.

Referenced by org.openoffice.xmerge.util.XmlUtil.deepClone().

static Node org.openoffice.xmerge.util.XmlUtil.deepClone ( Node  oldNode,
Node  newNode 
static String org.openoffice.xmerge.util.XmlUtil.getNodeInfo ( Node  node)

The documentation for this class was generated from the following file: