jaxx.compiler.tags
Class ScriptHandler
java.lang.Object
jaxx.compiler.tags.ScriptHandler
- All Implemented Interfaces:
- TagHandler
public class ScriptHandler
- extends java.lang.Object
- implements TagHandler
Handles the <script> tag.
- Author:
- Ethan Nicholas
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG_NAME
public static final java.lang.String TAG_NAME
- See Also:
- Constant Field Values
SOURCE_ATTRIBUTE
public static final java.lang.String SOURCE_ATTRIBUTE
- See Also:
- Constant Field Values
ScriptHandler
public ScriptHandler()
compileFirstPass
public void compileFirstPass(org.w3c.dom.Element tag,
JAXXCompiler compiler)
throws CompilerException,
java.io.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 compilecompiler - the active JAXXCompiler
- Throws:
CompilerException - if a compilation error occurs
java.io.IOException - if an I/O error occurs
compileSecondPass
public void compileSecondPass(org.w3c.dom.Element tag,
JAXXCompiler compiler)
throws CompilerException,
java.io.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 compilecompiler - the active JAXXCompiler
- Throws:
CompilerException - if a compilation error occurs
java.io.IOException - if an I/O error occurs
Copyright © 2008-2010 CodeLutin. All Rights Reserved.