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 XmlUtil.java.

Member Function Documentation

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

Clone a.

(either text or element).

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

Definition at line 85 of file XmlUtil.java.

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 
)
inlinestaticprivate

Clone the sub-tree under certain given.

.

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

Definition at line 63 of file XmlUtil.java.

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 
)
inlinestatic
static String org.openoffice.xmerge.util.XmlUtil.getNodeInfo ( Node  node)
inlinestatic

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