|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.services.xmlmerge.merge.DefaultXmlMerge
public class DefaultXmlMerge
Default implementation of XmlMerge. Create all JDOM documents, then perform the merge into a new JDOM document.
| Constructor Summary | |
|---|---|
DefaultXmlMerge()
Creates a new DefaultXmlMerge 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 DefaultXmlMerge()
| Method Detail |
|---|
public 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
public String merge(String[] sources)
throws AbstractXmlMergeException
merge in interface XmlMergesources - Array of String 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 InputStream merge(InputStream[] sources)
throws AbstractXmlMergeException
merge in interface XmlMergesources - Array of InputStream sources to merge
AbstractXmlMergeException - If an error occurred during the merge
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||