Package com.saxonica.ee.bytecode.simtype

## Class AtomicTypeValidatorCompiler

- java.lang.Object
- - com.saxonica.ee.bytecode.simtype.AtomicTypeValidatorCompiler

-     public class AtomicTypeValidatorCompiler
      extends java.lang.Object

  Class to handle bytecode generation for user-defined atomic types

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AtomicTypeValidatorCompiler​(UserAtomicType type)` | Create a compiler (=bytecode generator) for a user-defined atomic type*

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `compileAtomicValidator​(CompilerService compiler, ConversionRules rules)` | Make a validator for user-defined atomic types

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AtomicTypeValidatorCompiler

          public AtomicTypeValidatorCompiler​(UserAtomicType type)

      Create a compiler (=bytecode generator) for a user-defined atomic type*
      Parameters:
        `type` - the user-defined atomic type: this must be compilable.

  - ### Method Detail

    - #### compileAtomicValidator

          public void compileAtomicValidator​(CompilerService compiler,
                                             ConversionRules rules)
                                      throws CannotCompileException

      Make a validator for user-defined atomic types
      Parameters:
        `compiler` - the compiler service
        `rules` - the conversion rules
      Throws:
        `CannotCompileException` - if bytecode generation for this type is not possible for any reason