|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.services.xmlmerge.config.ConfigurableXmlMerge
public class ConfigurableXmlMerge
XmlMerge wrapper applying a configurer on the wrapped instance.
| Constructor Summary | |
|---|---|
ConfigurableXmlMerge(Configurer configurer)
Creates a default XmlMerge instance and configures it with the given configurer. |
|
ConfigurableXmlMerge(XmlMerge wrappedXmlMerge,
Configurer configurer)
Applies a configurer on a wrapped XmlMerge instance. |
|
| Method Summary | |
|---|---|
Document |
merge(Document[] sources)
Merges the given Document sources. |
InputStream |
merge(InputStream[] sources)
Merges the given InputStream sources. |
String |
merge(String[] sources)
Merges the given String sources. |
void |
setRootMapper(Mapper rootMapper)
Sets the Mapper which will be applied to the root element. |
void |
setRootMergeAction(MergeAction rootMergeAction)
Sets the MergeAction which will be applied to the root element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurableXmlMerge(Configurer configurer)
throws ConfigurationException
configurer - The configurer used to configure the XmlMerge instance
ConfigurationException - If an error occurred during configuration
public ConfigurableXmlMerge(XmlMerge wrappedXmlMerge,
Configurer configurer)
throws ConfigurationException
wrappedXmlMerge - The wrapped XmlMerge instance to configureconfigurer - The configurer to apply
ConfigurationException - If an error occurred during configuration| Method Detail |
|---|
public InputStream merge(InputStream[] sources)
throws AbstractXmlMergeException
merge in interface XmlMergesources - Array of InputStream sources to merge
AbstractXmlMergeException - If an error occurred during the merge
public Document merge(Document[] sources)
throws AbstractXmlMergeException
merge in interface XmlMergesources - Array of Document sources to merge
AbstractXmlMergeException - If an error occurred during the merge
public String merge(String[] sources)
throws AbstractXmlMergeException
merge in interface XmlMergesources - Array of String sources to merge
AbstractXmlMergeException - If an error occurred during the mergepublic void setRootMapper(Mapper rootMapper)
setRootMapper in interface XmlMergerootMapper - The Mapper which will be applied to the root elementpublic void setRootMergeAction(MergeAction rootMergeAction)
setRootMergeAction in interface XmlMergerootMergeAction - The MergeAction which will be applied to the root element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||