public class AttributeOperationFactory extends Object implements OperationFactory
| Constructor and Description |
|---|
AttributeOperationFactory(Operation defaultOperation,
OperationResolver resolver,
String keyword,
String namespace)
Creates a new AttributeOperationFactory.
|
| Modifier and Type | Method and Description |
|---|---|
Operation |
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.
|
public AttributeOperationFactory(Operation defaultOperation, OperationResolver resolver, String keyword, String namespace)
defaultOperation - The factory's default operationresolver - The factory's operation resolverkeyword - The name of the attribute representing the factory's operationnamespace - The namespace describing the operations to applypublic Operation getOperation(org.jdom2.Element originalElement, org.jdom2.Element modifiedElement) throws AbstractXmlMergeException
OperationFactorygetOperation in interface OperationFactoryoriginalElement - Original elementmodifiedElement - Modified elementAbstractXmlMergeException - If an error occurs during operation creationCopyright © 2001–2025. All rights reserved.