jaxx.compiler.tags.swing
Class TabHandler

java.lang.Object
  extended by jaxx.compiler.tags.swing.TabHandler
All Implemented Interfaces:
TagHandler

public class TabHandler
extends Object
implements TagHandler


Field Summary
 
Fields inherited from interface jaxx.compiler.tags.TagHandler
XMLNS_ATTRIBUTE
 
Constructor Summary
TabHandler()
           
 
Method Summary
protected  void compileChildrenFirstPass(Element tag, JAXXCompiler compiler)
           
protected  void compileChildrenSecondPass(Element tag, JAXXCompiler compiler)
           
protected  void compileChildTagFirstPass(Element tag, JAXXCompiler compiler)
           
protected  void compileChildTagSecondPass(Element tag, JAXXCompiler compiler)
           
 void compileFirstPass(Element tag, JAXXCompiler compiler)
          Performs the first pass of compilation on an XML tag from a JAXX source file.
 void compileSecondPass(Element tag, JAXXCompiler compiler)
          Performs the second pass of compilation on an XML tag from a JAXX source file.
static void setAttribute(CompiledObject compiledTabInfo, JTabbedPaneHandler.CompiledTabbedPane tabs, String name, String value, JAXXCompiler compiler)
           
 void setAttributes(CompiledObject compiledTabInfo, JTabbedPaneHandler.CompiledTabbedPane tabs, Element tag, JAXXCompiler compiler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabHandler

public TabHandler()
Method Detail

compileFirstPass

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

compileSecondPass

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

setAttribute

public static void setAttribute(CompiledObject compiledTabInfo,
                                JTabbedPaneHandler.CompiledTabbedPane tabs,
                                String name,
                                String value,
                                JAXXCompiler compiler)
                         throws CompilerException
Throws:
CompilerException

setAttributes

public void setAttributes(CompiledObject compiledTabInfo,
                          JTabbedPaneHandler.CompiledTabbedPane tabs,
                          Element tag,
                          JAXXCompiler compiler)
                   throws CompilerException
Throws:
CompilerException

compileChildrenFirstPass

protected void compileChildrenFirstPass(Element tag,
                                        JAXXCompiler compiler)
                                 throws CompilerException,
                                        IOException
Throws:
CompilerException
IOException

compileChildTagFirstPass

protected void compileChildTagFirstPass(Element tag,
                                        JAXXCompiler compiler)
                                 throws CompilerException,
                                        IOException
Throws:
CompilerException
IOException

compileChildrenSecondPass

protected void compileChildrenSecondPass(Element tag,
                                         JAXXCompiler compiler)
                                  throws CompilerException,
                                         IOException
Throws:
CompilerException
IOException

compileChildTagSecondPass

protected void compileChildTagSecondPass(Element tag,
                                         JAXXCompiler compiler)
                                  throws CompilerException,
                                         IOException
Throws:
CompilerException
IOException


Copyright © 2008-2010 CodeLutin. All Rights Reserved.