Class ModelTransaction.RemoveAttributeOperation
- java.lang.Object
-
- org.apache.commons.configuration2.tree.ModelTransaction.Operation
-
- org.apache.commons.configuration2.tree.ModelTransaction.RemoveAttributeOperation
-
- Enclosing class:
- ModelTransaction
private static final class ModelTransaction.RemoveAttributeOperation extends ModelTransaction.Operation
A specialized operation class for removing an attribute from a target node.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
attributeName
The attribute name.
-
Constructor Summary
Constructors Constructor Description RemoveAttributeOperation(java.lang.String name)
Creates a new instance ofRemoveAttributeOperation
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ImmutableNode
apply(ImmutableNode target, ModelTransaction.Operations operations)
Executes this operation on the provided target node returning the result.
-
-
-
Method Detail
-
apply
protected ImmutableNode apply(ImmutableNode target, ModelTransaction.Operations operations)
Description copied from class:ModelTransaction.Operation
Executes this operation on the provided target node returning the result.- Specified by:
apply
in classModelTransaction.Operation
- Parameters:
target
- the target node for this operationoperations
- the currentOperations
instance- Returns:
- the manipulated node
-
-