public enum CopyStrategy extends java.lang.Enum<CopyStrategy>
| Enum Constant and Description |
|---|
COPY
The elements are copied as-is to the target document.
|
FLATTEN
The elements are removed but the visible representation is retained.
|
REMOVE
The elements are removed completely.
|
| Modifier and Type | Method and Description |
|---|---|
static CopyStrategy |
fromValue(int value) |
int |
getValue() |
static CopyStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CopyStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CopyStrategy COPY
public static final CopyStrategy FLATTEN
public static final CopyStrategy REMOVE
public static CopyStrategy[] values()
for (CopyStrategy c : CopyStrategy.values()) System.out.println(c);
public static CopyStrategy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static CopyStrategy fromValue(int value)
public int getValue()