public class ReplaceOriginal
extends java.lang.Object
In the adapter configuration file this class is aliased as xml-replace-original which is the preferred alternative to the fully qualified classname when building your configuration.
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
Constructor and Description |
---|
ReplaceOriginal() |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Document |
merge(org.w3c.dom.Document original,
org.w3c.dom.Document newDoc)
Merge the contents of two XML documents
|
public org.w3c.dom.Document merge(org.w3c.dom.Document original, org.w3c.dom.Document newDoc) throws java.lang.Exception
DocumentMerge
original
- the original DocumentnewDoc
- the document to mergejava.lang.Exception