jaxx.compiler.tags
Class ImportHandler

java.lang.Object
  extended by jaxx.compiler.tags.ImportHandler
All Implemented Interfaces:
TagHandler

public class ImportHandler
extends Object
implements TagHandler

Handles the <import> tag.

Since:
2.1
Version:
$Id: ImportHandler.java 2118 2010-10-26 17:44:57Z tchemit $
Author:
tchemit

Field Summary
protected static org.apache.commons.logging.Log log
          Logger
static String TAG_NAME
           
 
Fields inherited from interface jaxx.compiler.tags.TagHandler
XMLNS_ATTRIBUTE
 
Constructor Summary
ImportHandler()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.commons.logging.Log log
Logger


TAG_NAME

public static final String TAG_NAME
See Also:
Constant Field Values
Constructor Detail

ImportHandler

public ImportHandler()
Method Detail

compileFirstPass

public void compileFirstPass(Element tag,
                             JAXXCompiler compiler)
                      throws 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 compile
compiler - the active JAXXCompiler
Throws:
IOException - if an I/O error occurs

compileSecondPass

public void compileSecondPass(Element tag,
                              JAXXCompiler compiler)
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 compile
compiler - the active JAXXCompiler


Copyright © 2008-2010 CodeLutin. All Rights Reserved.