|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TagHandler
Implementations of TagHandler produce Java source code from XML tags.
TagHandlers are mapped to particular XML tags (such as <JFrame>) in JAXXCompiler.
There is only one TagHandler for any given XML tag, and therefore implementations must be
stateless.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void compileFirstPass(org.w3c.dom.Element tag,
JAXXCompiler compiler)
throws CompilerException,
java.io.IOException
TagHandler implementations affect the generated .java
file by calling methods in the JAXXCompiler.
tag - the XML tag to compilecompiler - the active JAXXCompiler
CompilerException - if a compilation error occurs
java.io.IOException - if an I/O error occurs
void compileSecondPass(org.w3c.dom.Element tag,
JAXXCompiler compiler)
throws CompilerException,
java.io.IOException
TagHandler implementations affect the generated .java
file by calling methods in the JAXXCompiler.
tag - the XML tag to compilecompiler - the active JAXXCompiler
CompilerException - if a compilation error occurs
java.io.IOException - if an I/O error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||