org.objectweb.jonathan.tools.compilers

Class AssemblageCompiler

Implemented Interfaces:
TagCompiler

public class AssemblageCompiler
extends java.lang.Object
implements TagCompiler

XML Assemblage tag to runtime Assemblage component java code compiler. Used by Kcf2java through its getTagCompiler() method to write Assemblage tags' java code compilation.

Method Summary

String
writeComponent(XMLElement _current_component, String _element_name, String _configuration_var_name, Writer _writer, String _configuration_name)
Translates a XML ASSEMBLAGE element to the java code creating its corresponding assemblage runtime component.

Method Details

writeComponent

public String writeComponent(XMLElement _current_component,
                             String _element_name,
                             String _configuration_var_name,
                             Writer _writer,
                             String _configuration_name)
            throws IOException
Translates a XML ASSEMBLAGE element to the java code creating its corresponding assemblage runtime component.
Specified by:
writeComponent in interface TagCompiler

Parameters:
_current_component - ASSEMBLAGE tag to be decoded
_element_name - the assemblage's element name
_configuration_var_name - the assemblage's configuration's variable name
_writer - where the property assemblage code is written
_configuration_name - the assemblage's configuration's name