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
  • Constructor Details

    • BoxedCompiledObjectDecorator

      public BoxedCompiledObjectDecorator()
  • Method Details

    • 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) throws java.lang.ClassNotFoundException
      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
      Throws:
      java.lang.ClassNotFoundException - if a class is not found