Package jaxx.compiler.decorators
Class BoxedCompiledObjectDecorator
java.lang.Object
jaxx.compiler.decorators.DefaultCompiledObjectDecorator
jaxx.compiler.decorators.BoxedCompiledObjectDecorator
- All Implemented Interfaces:
CompiledObjectDecorator
@Component(role=CompiledObjectDecorator.class, hint="boxed") 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:
- Tony Chemit - chemit@codelutin.com
-
Field Summary
Fields inherited from class jaxx.compiler.decorators.DefaultCompiledObjectDecorator
log -
Constructor Summary
Constructors Constructor Description BoxedCompiledObjectDecorator() -
Method Summary
Modifier and Type Method Description voidfinalizeCompiler(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 thefile.java.lang.StringgetName()Methods inherited from class jaxx.compiler.decorators.DefaultCompiledObjectDecorator
addClientProperties, createCompleteSetupMethod, createInitializer, getCreationCodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BoxedCompiledObjectDecorator
public BoxedCompiledObjectDecorator()
-
-
Method Details
-
getName
public java.lang.String getName()- Specified by:
getNamein interfaceCompiledObjectDecorator- Overrides:
getNamein classDefaultCompiledObjectDecorator- 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) throws java.lang.ClassNotFoundExceptionDescription copied from interface:CompiledObjectDecoratorFinalize the given compiled object before any generation in thefile.- Specified by:
finalizeCompilerin interfaceCompiledObjectDecorator- Overrides:
finalizeCompilerin classDefaultCompiledObjectDecorator- Parameters:
compiler- the compiler to useroot- the root compiled object of the jaxx fileobject- the compiled object to treatejavaFile- the file to treatepackageName- the package nameclassName- the (simple ?) class namefullClassName- the fully class name- Throws:
java.lang.ClassNotFoundException- if a class is not found
-