Package com.tridion.util.xml
Class XMLMergeUtil
java.lang.Object
com.tridion.util.xml.XMLMergeUtil
Merge Utility that will merge to XML Nodes based on some rules as per defined.
https://confluence.sdl.com/display/TCD/UDP-497+UE%3A+Package+standard+product+combinations+as+extensions+for+Cloud+de
ployment#Configuration%20Changes
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XMLMergeUtil
public XMLMergeUtil(String schemaFile) throws IOException, SAXException, ParserConfigurationException Constructs the Merge Utility.- Parameters:
schemaFile- the path to the schema file- Throws:
IOExceptionSAXExceptionParserConfigurationException
-
-
Method Details
-
merge
Merges the master node with the given merge node. Master and Merge node will be unchanged after calling this method.- Parameters:
master- master nodemerge- node to be merged with master node- Returns:
- the new merged master node
- Throws:
SAXException- exception thrown during merge
-