Package org.nuiton.jaxx.compiler.tags
Class ImportHandler
- java.lang.Object
-
- org.nuiton.jaxx.compiler.tags.ImportHandler
-
- All Implemented Interfaces:
TagHandler
public class ImportHandler extends Object implements TagHandler
Handles the<import>tag.- Since:
- 2.1
- Version:
- $Id$
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.logging.log4j.LoggerlogLoggerstatic StringTAG_NAME-
Fields inherited from interface org.nuiton.jaxx.compiler.tags.TagHandler
XMLNS_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description ImportHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
log
protected static final org.apache.logging.log4j.Logger log
Logger
-
TAG_NAME
public static final String TAG_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
compileFirstPass
public void compileFirstPass(Element tag, JAXXCompiler compiler) throws 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:
IOException- if an I/O error occurs
-
compileSecondPass
public void compileSecondPass(Element tag, JAXXCompiler compiler)
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
-
-