Class StyleHandler

  • All Implemented Interfaces:
    TagHandler

    public class StyleHandler
    extends Object
    implements TagHandler
    Handles the <style> tag.
    Author:
    Ethan Nicholas
    • Constructor Detail

      • StyleHandler

        public StyleHandler()
    • Method Detail

      • compileFirstPass

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

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