public static enum ContentValidator.Nillability extends java.lang.Enum<ContentValidator.Nillability>
Enum Constant and Description |
---|
ALLOWED
Constant indicating that xsi:nil is allowed and active.
|
DISALLOWED
Constant indicating that xsi:nil is disallowed.
|
IGNORED
Constant indicating that xsi:nil is allowed but ignored; this is true when we are validating
against a type, rather than against an element declaration
|
Modifier and Type | Method and Description |
---|---|
static ContentValidator.Nillability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContentValidator.Nillability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentValidator.Nillability IGNORED
public static final ContentValidator.Nillability ALLOWED
public static final ContentValidator.Nillability DISALLOWED
public static ContentValidator.Nillability[] values()
for (ContentValidator.Nillability c : ContentValidator.Nillability.values()) System.out.println(c);
public static ContentValidator.Nillability 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 nullCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.