public enum ValidationLevel extends java.lang.Enum<ValidationLevel>
Enum Constant and Description |
---|
MODERATE
Applies validation rules to inserts and to updates on existing valid documents.
|
OFF
No validation for inserts or updates.
|
STRICT
Apply validation rules to all inserts and all updates.
|
Modifier and Type | Method and Description |
---|---|
static ValidationLevel |
fromString(java.lang.String validationLevel)
Returns the ValidationLevel from the string representation of the validation level.
|
java.lang.String |
getValue() |
static ValidationLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValidationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationLevel OFF
public static final ValidationLevel STRICT
public static final ValidationLevel MODERATE
Does not apply rules to updates on existing invalid documents.
public static ValidationLevel[] values()
for (ValidationLevel c : ValidationLevel.values()) System.out.println(c);
public static ValidationLevel 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 ValidationLevel fromString(java.lang.String validationLevel)
validationLevel
- the string representation of the validation level.Copyright © 2010 - 2020 Adobe. All Rights Reserved