| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.lib.Validation
public final class Validation
This class contains constants and static methods to manipulate the validation property of a type.
| Field Summary | |
|---|---|
| static int | BY_TYPECode indicating that validation against a named type was requested | 
| static int | DEFAULTCode indicating that no specific validation options were requested | 
| static int | INVALIDCode indicating that the value of a validation request was invalid | 
| static int | LAXCode for lax validation | 
| static int | PRESERVECode 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 | SKIPSynonym for STRIP, corresponding to XQuery usage | 
| static int | STRICTCode for strict validation | 
| static int | STRIPCode corresponding to the XSLT option validation=strip, which indicates that existing type annotations are to be removed and no new validation is performed. | 
| static int | VALIDATE_OUTPUTBit setting that can be combined with a validation code to indicate that the data being validated is final output data, and that validation errors are therefore recoverable. | 
| static int | VALIDATION_MODE_MASKMask used when a validation code is combined with other information in an integer value | 
| Method Summary | |
|---|---|
| static int | getCode(String value)Get the integer validation code corresponding to a given string | 
| static String | toString(int value)Get a string representation of a validation code | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
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 usage
public static final int DEFAULT
public static final int BY_TYPE
public static final int VALIDATION_MODE_MASK
public static final int VALIDATE_OUTPUT
| Method Detail | 
|---|
public static int getCode(String value)
value - one of "strict", "lax", "preserve", or "strip"
STRICT, LAX,
 PRESERVE, or STRIPpublic static String toString(int value)
value - one of the validation codes defined in this class
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||