public interface TagHandler
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.| Modifier and Type | Field and Description |
|---|---|
static String |
XMLNS_ATTRIBUTE |
| Modifier and Type | Method and Description |
|---|---|
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 final String XMLNS_ATTRIBUTE
void compileFirstPass(Element tag, JAXXCompiler compiler) throws CompilerException, IOException
TagHandler implementations affect the generated .java
file by calling methods in the JAXXCompiler.tag - the XML tag to compilecompiler - the active JAXXCompilerCompilerException - if a compilation error occursIOException - if an I/O error occursvoid compileSecondPass(Element tag, JAXXCompiler compiler) throws CompilerException, IOException
TagHandler implementations affect the generated .java
file by calling methods in the JAXXCompiler.tag - the XML tag to compilecompiler - the active JAXXCompilerCompilerException - if a compilation error occursIOException - if an I/O error occursCopyright © 2008–2018 Ultreia.io. All rights reserved.