public interface Merger
Modifier and Type | Method and Description |
---|---|
org.jdom.Document |
merge(org.jdom.Document dDocument,
org.jdom.Document rDocument)
Merge with the recessive document.
|
void |
writeMergedDocument(org.jdom.Document mergedDocument,
File file)
Allows writing out a merged JDom Document to the specified file.
|
static final String ROLE
org.jdom.Document merge(org.jdom.Document dDocument, org.jdom.Document rDocument) throws MergeException
dDocument
- the dominant document.rDocument
- the recessive document.Document
instance.MergeException
- if there was an error in merge.void writeMergedDocument(org.jdom.Document mergedDocument, File file) throws IOException
mergedDocument
- the merged Document
instance.file
- File to write the merged contents to.IOException
- if there was an error while writing merged contents to the specified file.Copyright © 2001-2013 Codehaus. All Rights Reserved.