public final class Validation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BY_TYPE
Code indicating that validation against a named type was requested
|
static int |
DEFAULT
Code indicating that no specific validation options were requested
|
static int |
INVALID
Code indicating that the value of a validation request was invalid
|
static int |
LAX
Code for lax validation
|
static int |
PRESERVE
Code corresponding to the XSLT option validation=preserve, which indicates
that existing type annotations are to be preserved but no new validation is performed.
|
static int |
SKIP
Synonym for
STRIP , corresponding to XQuery usage |
static int |
STRICT
Code for strict validation
|
static int |
STRIP
Code corresponding to the XSLT option validation=strip, which indicates
that existing type annotations are to be removed and no new validation is performed.
|
Modifier and Type | Method and Description |
---|---|
static int |
getCode(java.lang.String value)
Get the integer validation code corresponding to a given string
|
static java.lang.String |
toString(int value)
Get a string representation of a validation code
|
public static final int INVALID
public static final int STRICT
public static final int LAX
public static final int PRESERVE
public static final int STRIP
public static final int SKIP
STRIP
, corresponding to XQuery usagepublic static final int DEFAULT
public static final int BY_TYPE
public static int getCode(java.lang.String value)
public static java.lang.String toString(int value)
value
- one of the validation codes defined in this classCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.