public class XPathOperationFactory extends Object implements OperationFactory
| Constructor and Description |
|---|
XPathOperationFactory() |
| Modifier and Type | Method and Description |
|---|---|
Operation |
getOperation(org.jdom2.Element originalElement,
org.jdom2.Element patchElement)
Creates operation (action, mapper and matcher) instances corresponding to a pair of elements
from the original and patch DOMs.
|
void |
setDefaultOperation(Operation operation)
Sets the default operation returned by this factory.
|
void |
setOperationMap(Map<String,Operation> map)
Sets the factory's map containing configuration properties.
|
public void setOperationMap(Map<String,Operation> map)
map - A map containing configuration properties.public void setDefaultOperation(Operation operation)
operation - The default operation returned by this factory.public Operation getOperation(org.jdom2.Element originalElement, org.jdom2.Element patchElement) throws AbstractXmlMergeException
OperationFactorygetOperation in interface OperationFactoryoriginalElement - Original elementpatchElement - Modified elementAbstractXmlMergeException - If an error occurs during operation creationCopyright © 2001–2025. All rights reserved.