| Modifier and Type | Class and Description |
|---|---|
class |
ConfigurationException
Thrown when something wrong happens in the XmlMerge configuration.
|
class |
DocumentException
Thrown when something is wrong with a source or output document.
|
class |
ElementException
Thrown when there is something wrong with an element.
|
class |
MatchException
Thrown when something is wrong in the matching process.
|
class |
ParseException
Thrown when XML parsing fails.
|
| Modifier and Type | Method and Description |
|---|---|
Operation |
OperationFactory.getOperation(org.jdom2.Element originalElement,
org.jdom2.Element modifiedElement)
Creates operation (action, mapper and matcher) instances corresponding to a pair of elements
from the original and patch DOMs.
|
Document |
XmlMerge.merge(Document[] sources)
Merges the given Document sources.
|
void |
XmlMerge.merge(File[] sources,
File target)
Merges the given InputStream sources.
|
InputStream |
XmlMerge.merge(InputStream[] sources)
Merges the given InputStream sources.
|
String |
XmlMerge.merge(String[] sources)
Merges the given String sources.
|
void |
Action.perform(org.jdom2.Element originalElement,
org.jdom2.Element patchElement,
org.jdom2.Element outputParentElement)
Out of an original element and a second element provided by the patch DOM, applies an
operation and modifies the parent node of the result DOM.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FullMergeAction.perform(org.jdom2.Element originalElement,
org.jdom2.Element patchElement,
org.jdom2.Element outputParentElement) |
void |
OrderedMergeAction.perform(org.jdom2.Element originalElement,
org.jdom2.Element patchElement,
org.jdom2.Element outputParentElement) |
void |
DtdInsertAction.perform(org.jdom2.Element originalElement,
org.jdom2.Element patchElement,
org.jdom2.Element outputParentElement) |
| Modifier and Type | Method and Description |
|---|---|
Document |
ConfigurableXmlMerge.merge(Document[] sources) |
void |
ConfigurableXmlMerge.merge(File[] sources,
File target) |
InputStream |
ConfigurableXmlMerge.merge(InputStream[] sources) |
String |
ConfigurableXmlMerge.merge(String[] sources) |
| Modifier and Type | Method and Description |
|---|---|
Operation |
DiffOperationFactory.getOperation(org.jdom2.Element originalElement,
org.jdom2.Element patchElement) |
Operation |
AttributeOperationFactory.getOperation(org.jdom2.Element originalElement,
org.jdom2.Element modifiedElement) |
Operation |
XPathOperationFactory.getOperation(org.jdom2.Element originalElement,
org.jdom2.Element patchElement) |
| Modifier and Type | Method and Description |
|---|---|
Document |
DefaultXmlMerge.merge(Document[] sources) |
void |
DefaultXmlMerge.merge(File[] sources,
File target) |
InputStream |
DefaultXmlMerge.merge(InputStream[] sources) |
String |
DefaultXmlMerge.merge(String[] sources) |
Copyright © 2001–2025. All rights reserved.