Class FieldValidatorHandler

java.lang.Object
jaxx.compiler.tags.validator.FieldValidatorHandler
All Implemented Interfaces:
TagHandler

public class FieldValidatorHandler
extends java.lang.Object
implements TagHandler
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String COMPONENT_ATTRIBUTE  
    static java.lang.String NAME_ATTRIBUTE  
    static java.lang.String TAG  

    Fields inherited from interface jaxx.compiler.tags.TagHandler

    XMLNS_ATTRIBUTE
  • Constructor Summary

    Constructors
    Constructor Description
    FieldValidatorHandler()  
  • Method Summary

    Modifier and Type Method Description
    void compileFirstPass​(org.w3c.dom.Element tag, JAXXCompiler compiler)
    Performs the first pass of compilation on an XML tag from a JAXX source file.
    void compileSecondPass​(org.w3c.dom.Element tag, JAXXCompiler compiler)
    Performs the second pass of compilation on an XML tag from a JAXX source file.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • FieldValidatorHandler

      public FieldValidatorHandler()
  • Method Details

    • compileFirstPass

      public void compileFirstPass​(org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException, java.io.IOException
      Description copied from interface: TagHandler
      Performs the first pass of compilation on an XML tag from a JAXX source file. TagHandler implementations affect the generated .java file by calling methods in the JAXXCompiler.
      Specified by:
      compileFirstPass in interface TagHandler
      Parameters:
      tag - the XML tag to compile
      compiler - the active JAXXCompiler
      Throws:
      CompilerException - if a compilation error occurs
      java.io.IOException - if an I/O error occurs
    • compileSecondPass

      public void compileSecondPass​(org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException, java.io.IOException
      Description copied from interface: TagHandler
      Performs the second pass of compilation on an XML tag from a JAXX source file. TagHandler implementations affect the generated .java file by calling methods in the JAXXCompiler.
      Specified by:
      compileSecondPass in interface TagHandler
      Parameters:
      tag - the XML tag to compile
      compiler - the active JAXXCompiler
      Throws:
      CompilerException - if a compilation error occurs
      java.io.IOException - if an I/O error occurs