| Constructor and Description |
|---|
DefaultXmlMerge()
Creates a new DefaultXmlMerge instance.
|
| 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.
|
public void setRootMergeActionFactory(OperationFactory factory)
XmlMergesetRootMergeActionFactory in interface XmlMergepublic void setRootMergeMatcherFactory(OperationFactory factory)
XmlMergesetRootMergeMatcherFactory in interface XmlMergepublic void setRootMergeMapperFactory(OperationFactory factory)
XmlMergesetRootMergeMapperFactory in interface XmlMergepublic String merge(String[] sources) throws AbstractXmlMergeException
XmlMergemerge in interface XmlMergesources - Array of String sources to mergeAbstractXmlMergeException - If an error occurred during the mergepublic Document merge(Document[] sources) throws AbstractXmlMergeException
XmlMergemerge in interface XmlMergesources - Array of Document sources to mergeAbstractXmlMergeException - If an error occurred during the mergepublic InputStream merge(InputStream[] sources) throws AbstractXmlMergeException
XmlMergemerge in interface XmlMergesources - Array of InputStream sources to mergeAbstractXmlMergeException - If an error occurred during the mergepublic void merge(File[] sources, File target) throws AbstractXmlMergeException
XmlMergemerge in interface XmlMergesources - Array of File sources to mergeAbstractXmlMergeException - If an error occurred during the mergeCopyright © 2001–2025. All rights reserved.