Class BoxedCompiledObjectDecorator
- java.lang.Object
-
- org.nuiton.jaxx.compiler.decorators.DefaultCompiledObjectDecorator
-
- org.nuiton.jaxx.compiler.decorators.BoxedCompiledObjectDecorator
-
- All Implemented Interfaces:
CompiledObjectDecorator
@AutoService(CompiledObjectDecorator.class) @Component(hint="boxed", role=CompiledObjectDecorator.class) 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 - dev@tchemit.fr
-
-
Field Summary
-
Fields inherited from class org.nuiton.jaxx.compiler.decorators.DefaultCompiledObjectDecorator
log
-
-
Constructor Summary
Constructors Constructor Description BoxedCompiledObjectDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinalizeCompiler(JAXXCompiler compiler, CompiledObject root, CompiledObject object, JavaFile javaFile, String packageName, String className, String fullClassName)Finalize the given compiled object before any generation in thefile.StringgetName()-
Methods inherited from class org.nuiton.jaxx.compiler.decorators.DefaultCompiledObjectDecorator
addClientProperties, createCompleteSetupMethod, createInitializer, getCreationCode
-
-
-
-
Method Detail
-
getName
public 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, String packageName, String className, String fullClassName) throws ClassNotFoundException
Description 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:
ClassNotFoundException- if a class is not found
-
-