Class AtomicTypeValidator


  • public abstract class AtomicTypeValidator
    extends java.lang.Object
    Abstract superclass for generated bytecode for validating atomic values against user-defined atomic types
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract ValidationFailure validate​(java.lang.CharSequence value)
      Validate the supplied value against the rules of this atomic type
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AtomicTypeValidator

        public AtomicTypeValidator()
    • Method Detail

      • validate

        public abstract ValidationFailure validate​(java.lang.CharSequence 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