Class ImportHandler

  • All Implemented Interfaces:
    TagHandler

    public class ImportHandler
    extends Object
    implements TagHandler
    Handles the <import> tag.
    Since:
    2.1
    Version:
    $Id$
    Author:
    Tony Chemit - dev@tchemit.fr
    • Field Detail

      • log

        protected static final org.apache.logging.log4j.Logger log
        Logger
    • Constructor Detail

      • ImportHandler

        public ImportHandler()
    • Method Detail

      • compileFirstPass

        public void compileFirstPass​(Element tag,
                                     JAXXCompiler compiler)
                              throws 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:
        IOException - if an I/O error occurs
      • compileSecondPass

        public void compileSecondPass​(Element tag,
                                      JAXXCompiler compiler)
        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