Class ModelTransaction.Operation

java.lang.Object
org.apache.commons.configuration2.tree.ModelTransaction.Operation
Direct Known Subclasses:
ModelTransaction.AddAttributeOperation, ModelTransaction.AddAttributesOperation, ModelTransaction.ChangeNodeNameOperation, ModelTransaction.ChangeNodeValueOperation, ModelTransaction.ChildrenUpdateOperation, ModelTransaction.RemoveAttributeOperation
Enclosing class:
ModelTransaction

private abstract static class ModelTransaction.Operation extends Object
An abstract base class representing an operation to be performed on a node. Concrete subclasses implement specific update operations.
  • Constructor Details

    • Operation

      private Operation()
  • Method Details

    • apply

      protected abstract ImmutableNode apply(ImmutableNode target, ModelTransaction.Operations operations)
      Executes this operation on the provided target node returning the result.
      Parameters:
      target - the target node for this operation
      operations - the current Operations instance
      Returns:
      the manipulated node