public enum ModificationOperation extends Enum<ModificationOperation>
| Enum Constant and Description |
|---|
ADD_ATTRIBUTE |
REMOVE_ATTRIBUTE |
REPLACE_ATTRIBUTE |
| Modifier and Type | Method and Description |
|---|---|
static ModificationOperation |
getOperation(int value)
Get the ModificationOperation from an int value
|
int |
getValue() |
String |
toString() |
static ModificationOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModificationOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModificationOperation ADD_ATTRIBUTE
public static final ModificationOperation REMOVE_ATTRIBUTE
public static final ModificationOperation REPLACE_ATTRIBUTE
public static ModificationOperation[] values()
for (ModificationOperation c : ModificationOperation.values()) System.out.println(c);
public static ModificationOperation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
public static ModificationOperation getOperation(int value)
value - the ModificationOperation int valuepublic String toString()
toString in class Enum<ModificationOperation>Object.toString()Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.