|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.services.xmlmerge.factory.DiffOperationFactory
public class DiffOperationFactory
An operation factory delegating to other operation factories according to the existence of the original and patch element.
| Constructor Summary | |
|---|---|
DiffOperationFactory()
|
|
| Method Summary | |
|---|---|
Operation |
getOperation(org.jdom.Element originalElement,
org.jdom.Element patchElement)
Creates operation (action, mapper and matcher) instances corresponding to a pair of elements from the original and patch DOMs. |
void |
setInBothOperationFactory(OperationFactory inBothOperationFactory)
Sets the operation factory this factory delegates to if the original and patch elements exist. |
void |
setOnlyInOriginalOperationFactory(OperationFactory onlyInOriginalOperationFactory)
Sets the operation factory this factory delegates to if only the original element exists. |
void |
setOnlyInPatchOperationFactory(OperationFactory onlyInPatchOperationFactory)
Sets the operation factory this factory delegates to if only the patch element exists. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiffOperationFactory()
| Method Detail |
|---|
public void setInBothOperationFactory(OperationFactory inBothOperationFactory)
inBothOperationFactory - the operation factory this factory delegates to if the
original and patch elements exist.public void setOnlyInOriginalOperationFactory(OperationFactory onlyInOriginalOperationFactory)
onlyInOriginalOperationFactory - factory this factory delegates to if only the original element
existspublic void setOnlyInPatchOperationFactory(OperationFactory onlyInPatchOperationFactory)
onlyInPatchOperationFactory - factory this factory delegates to if only the patch element
exists
public Operation getOperation(org.jdom.Element originalElement,
org.jdom.Element patchElement)
throws AbstractXmlMergeException
getOperation in interface OperationFactoryoriginalElement - Original elementpatchElement - Modified element
AbstractXmlMergeException - If an error occurs during operation creation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||