public enum ValidationMode extends java.lang.Enum<ValidationMode>
Enum Constant and Description |
---|
DEFAULT
Value indication no preference: the choice is defined elsewhere
|
LAX
Lax validation
|
PRESERVE
Preserve existing type annotations if any
|
STRICT
Strict validation
|
STRIP
Remove any existing type annotations, mark as untyped
|
Modifier and Type | Method and Description |
---|---|
protected static ValidationMode |
get(int number) |
protected int |
getNumber() |
static ValidationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValidationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationMode STRICT
public static final ValidationMode LAX
public static final ValidationMode PRESERVE
public static final ValidationMode STRIP
public static final ValidationMode DEFAULT
public static ValidationMode[] values()
for (ValidationMode c : ValidationMode.values()) System.out.println(c);
public static ValidationMode 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 nullprotected int getNumber()
protected static ValidationMode get(int number)
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.