Class ModelTransaction.AddAttributeOperation

java.lang.Object
org.apache.commons.configuration2.tree.ModelTransaction.Operation
org.apache.commons.configuration2.tree.ModelTransaction.AddAttributeOperation
Enclosing class:
ModelTransaction

private static final class ModelTransaction.AddAttributeOperation extends ModelTransaction.Operation
A specialized operation class for adding an attribute to a target node.
  • Field Details

    • attributeName

      private final String attributeName
      The attribute name.
    • attributeValue

      private final Object attributeValue
      The attribute value.
  • Constructor Details

    • AddAttributeOperation

      public AddAttributeOperation(String name, Object value)
      Creates a new instance of AddAttributeOperation.
      Parameters:
      name - the name of the attribute
      value - the value of the attribute
  • Method Details