public interface Merger
| Modifier and Type | Method and Description |
|---|---|
org.jdom2.Document |
merge(org.jdom2.Document dDocument,
org.jdom2.Document rDocument)
Merge with the recessive document.
|
void |
mergeDescriptors(File outputDescriptor,
List<File> descriptors) |
void |
writeMergedDocument(org.jdom2.Document mergedDocument,
File file)
Allows writing out a merged JDom Document to the specified file.
|
static final String ROLE
org.jdom2.Document merge(org.jdom2.Document dDocument,
org.jdom2.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.jdom2.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.void mergeDescriptors(File outputDescriptor, List<File> descriptors) throws IOException
IOExceptionCopyright © 2001–2023 Codehaus Plexus. All rights reserved.