Class ItemHandler
- java.lang.Object
-
- org.nuiton.jaxx.compiler.tags.swing.ItemHandler
-
- All Implemented Interfaces:
TagHandler
public class ItemHandler extends Object implements TagHandler
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTRIBUTE_IDstatic StringTAG_NAME-
Fields inherited from interface org.nuiton.jaxx.compiler.tags.TagHandler
XMLNS_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description ItemHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcompileChildrenFirstPass(Element tag, JAXXCompiler compiler)protected voidcompileChildrenSecondPass(Element tag, JAXXCompiler compiler)protected voidcompileChildTagFirstPass(Element tag, JAXXCompiler compiler)protected voidcompileChildTagSecondPass(Element tag, JAXXCompiler compiler)voidcompileFirstPass(Element tag, JAXXCompiler compiler)Performs the first pass of compilation on an XML tag from a JAXX source file.voidcompileSecondPass(Element tag, JAXXCompiler compiler)Performs the second pass of compilation on an XML tag from a JAXX source file.
-
-
-
Field Detail
-
TAG_NAME
public static final String TAG_NAME
- See Also:
- Constant Field Values
-
ATTRIBUTE_ID
public static final String ATTRIBUTE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
compileFirstPass
public void compileFirstPass(Element tag, JAXXCompiler compiler) throws CompilerException, IOException
Description copied from interface:TagHandlerPerforms the first pass of compilation on an XML tag from a JAXX source file.TagHandlerimplementations affect the generated.javafile by calling methods in theJAXXCompiler.- Specified by:
compileFirstPassin interfaceTagHandler- Parameters:
tag- the XML tag to compilecompiler- the active JAXXCompiler- Throws:
CompilerException- if a compilation error occursIOException- if an I/O error occurs
-
compileSecondPass
public void compileSecondPass(Element tag, JAXXCompiler compiler) throws CompilerException, IOException
Description copied from interface:TagHandlerPerforms the second pass of compilation on an XML tag from a JAXX source file.TagHandlerimplementations affect the generated.javafile by calling methods in theJAXXCompiler.- Specified by:
compileSecondPassin interfaceTagHandler- Parameters:
tag- the XML tag to compilecompiler- the active JAXXCompiler- Throws:
CompilerException- if a compilation error occursIOException- if an I/O error occurs
-
compileChildrenFirstPass
protected void compileChildrenFirstPass(Element tag, JAXXCompiler compiler) throws CompilerException, IOException
- Throws:
CompilerExceptionIOException
-
compileChildrenSecondPass
protected void compileChildrenSecondPass(Element tag, JAXXCompiler compiler) throws CompilerException, IOException
- Throws:
CompilerExceptionIOException
-
compileChildTagFirstPass
protected void compileChildTagFirstPass(Element tag, JAXXCompiler compiler) throws CompilerException, IOException
- Throws:
CompilerExceptionIOException
-
compileChildTagSecondPass
protected void compileChildTagSecondPass(Element tag, JAXXCompiler compiler) throws CompilerException, IOException
- Throws:
CompilerExceptionIOException
-
-