Package com.saxonica.ee.bytecode.simtype
Class AtomicTypeValidator
- java.lang.Object
-
- com.saxonica.ee.bytecode.simtype.AtomicTypeValidator
-
public abstract class AtomicTypeValidator extends java.lang.Object
Abstract superclass for generated bytecode for validating atomic values against user-defined atomic types
-
-
Constructor Summary
Constructors Constructor Description AtomicTypeValidator()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract ValidationFailure
validate(UnicodeString value)
Validate the supplied value against the rules of this atomic type
-
-
-
Method Detail
-
validate
public abstract ValidationFailure validate(UnicodeString value)
Validate the supplied value against the rules of this atomic type- Parameters:
value
- the value to be validated- Returns:
- null if the value is valid; otherwise a ValidationFailure containing details of the invalidity
-
-