jaxx.compiler.decorators
Class BoxedCompiledObjectDecorator

java.lang.Object
  extended by jaxx.compiler.decorators.DefaultCompiledObjectDecorator
      extended by jaxx.compiler.decorators.BoxedCompiledObjectDecorator
All Implemented Interfaces:
CompiledObjectDecorator

public class BoxedCompiledObjectDecorator
extends DefaultCompiledObjectDecorator

A decorator to surround a compiled object (should be a component at least) with a JXLayer.

Since:
1.2
Author:
tchemit
Plexus component:
role:
"jaxx.compiler.CompiledObjectDecorator"
role-hint:
"boxed"

Field Summary
 
Fields inherited from class jaxx.compiler.decorators.DefaultCompiledObjectDecorator
log
 
Constructor Summary
BoxedCompiledObjectDecorator()
           
 
Method Summary
 void finalizeCompiler(JAXXCompiler compiler, CompiledObject root, CompiledObject object, JavaFile javaFile, java.lang.String packageName, java.lang.String className, java.lang.String fullClassName)
          Finalize the given compiled object before any generation in the file.
 java.lang.String getName()
           
 
Methods inherited from class jaxx.compiler.decorators.DefaultCompiledObjectDecorator
addClientProperties, createCompleteSetupMethod, createInitializer, getCreationCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoxedCompiledObjectDecorator

public BoxedCompiledObjectDecorator()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface CompiledObjectDecorator
Overrides:
getName in class DefaultCompiledObjectDecorator
Returns:
the name of the decorator (match the content of a decorator attribute value in a JAXX file)

finalizeCompiler

public void finalizeCompiler(JAXXCompiler compiler,
                             CompiledObject root,
                             CompiledObject object,
                             JavaFile javaFile,
                             java.lang.String packageName,
                             java.lang.String className,
                             java.lang.String fullClassName)
Description copied from interface: CompiledObjectDecorator
Finalize the given compiled object before any generation in the file.

Specified by:
finalizeCompiler in interface CompiledObjectDecorator
Overrides:
finalizeCompiler in class DefaultCompiledObjectDecorator
Parameters:
compiler - the compiler to use
root - the root compiled object of the jaxx file
object - the compiled object to treate
javaFile - the file to treate
packageName - the package name
className - the (simple ?) class name
fullClassName - the fully class name


Copyright © 2008-2010 CodeLutin. All Rights Reserved.