public enum ValidationAction extends java.lang.Enum<ValidationAction>
Enum Constant and Description |
---|
ERROR
Documents must pass validation before the write occurs.
|
WARN
Documents do not have to pass validation.
|
Modifier and Type | Method and Description |
---|---|
static ValidationAction |
fromString(java.lang.String validationAction)
Returns the validationAction from the string representation of a validation action.
|
java.lang.String |
getValue() |
static ValidationAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValidationAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationAction ERROR
public static final ValidationAction WARN
public static ValidationAction[] values()
for (ValidationAction c : ValidationAction.values()) System.out.println(c);
public static ValidationAction 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 java.lang.String getValue()
public static ValidationAction fromString(java.lang.String validationAction)
validationAction
- the string representation of the validation action.Copyright © 2010 - 2020 Adobe. All Rights Reserved