public interface XmlMerge
| Modifier and Type | Method and Description |
|---|---|
Document |
merge(Document[] sources)
Merges the given Document sources.
|
void |
merge(File[] sources,
File target)
Merges the given InputStream sources.
|
InputStream |
merge(InputStream[] sources)
Merges the given InputStream sources.
|
String |
merge(String[] sources)
Merges the given String sources.
|
void |
setRootMergeActionFactory(OperationFactory factory)
Sets the merge actions which will be applied to the root element.
|
void |
setRootMergeMapperFactory(OperationFactory factory)
Sets the mappers which will be applied to the root element.
|
void |
setRootMergeMatcherFactory(OperationFactory factory)
Sets the matchers which will be applied to the root element.
|
InputStream merge(InputStream[] sources) throws AbstractXmlMergeException
sources - Array of InputStream sources to mergeAbstractXmlMergeException - If an error occurred during the mergevoid merge(File[] sources, File target) throws AbstractXmlMergeException
sources - Array of File sources to mergeAbstractXmlMergeException - If an error occurred during the mergeDocument merge(Document[] sources) throws AbstractXmlMergeException
sources - Array of Document sources to mergeAbstractXmlMergeException - If an error occurred during the mergeString merge(String[] sources) throws AbstractXmlMergeException
sources - Array of String sources to mergeAbstractXmlMergeException - If an error occurred during the mergevoid setRootMergeActionFactory(OperationFactory factory)
rootMergeAction - The merge actions which will be applied to the root elementvoid setRootMergeMapperFactory(OperationFactory factory)
rootMapper - The mappers which will be applied to the root elementvoid setRootMergeMatcherFactory(OperationFactory factory)
rootMapper - The matchers which will be applied to the root elementCopyright © 2001–2025. All rights reserved.