Package jaxx.compiler.tags
Class ImportHandler
java.lang.Object
jaxx.compiler.tags.ImportHandler
- All Implemented Interfaces:
TagHandler
public class ImportHandler extends java.lang.Object implements TagHandler
Handles the
<import> tag.- Since:
- 2.1
- Version:
- $Id$
- Author:
- Tony Chemit - chemit@codelutin.com
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.commons.logging.LoglogLoggerstatic java.lang.StringTAG_NAMEFields inherited from interface jaxx.compiler.tags.TagHandler
XMLNS_ATTRIBUTE -
Constructor Summary
Constructors Constructor Description ImportHandler() -
Method Summary
Modifier and Type Method Description voidcompileFirstPass(org.w3c.dom.Element tag, JAXXCompiler compiler)Performs the first pass of compilation on an XML tag from a JAXX source file.voidcompileSecondPass(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
-
Field Details
-
log
protected static final org.apache.commons.logging.Log logLogger -
TAG_NAME
public static final java.lang.String TAG_NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
ImportHandler
public ImportHandler()
-
-
Method Details
-
compileFirstPass
public void compileFirstPass(org.w3c.dom.Element tag, JAXXCompiler compiler) throws java.io.IOExceptionDescription 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:
java.io.IOException- if an I/O error occurs
-
compileSecondPass
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
-