|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.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 XmlMerge
rootMapper
- The Mapper which will be applied to the root elementpublic void setRootMergeAction(MergeAction rootMergeAction)
setRootMergeAction
in interface XmlMerge
rootMergeAction
- The MergeAction which will be applied to the root elementpublic String merge(String[] sources) throws AbstractXmlMergeException
merge
in interface XmlMerge
sources
- Array of String sources to merge
AbstractXmlMergeException
- If an error occurred during the mergepublic Document merge(Document[] sources) throws AbstractXmlMergeException
merge
in interface XmlMerge
sources
- Array of Document sources to merge
AbstractXmlMergeException
- If an error occurred during the mergepublic InputStream merge(InputStream[] sources) throws AbstractXmlMergeException
merge
in interface XmlMerge
sources
- 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 |