org.objectweb.jonathan.tools.compilers
Class AliasCompiler
java.lang.Object
org.objectweb.jonathan.tools.compilers.AliasCompiler
- TagCompiler
public class AliasCompiler
extends java.lang.Object
XML Alias tag to runtime component java code compiler.
Used by
Kcf2java
through its
getTagCompiler()
method to write Alias tags' java code compilation.
String | writeComponent(XMLElement _current_component, String _element_name, String _configuration_var_name, Writer _writer, String _configuration_name) - Translates a XML
ALIAS element to the java code
creating its corresponding alias runtime component.
|
writeComponent
public String writeComponent(XMLElement _current_component,
String _element_name,
String _configuration_var_name,
Writer _writer,
String _configuration_name)
throws IOException
Translates a XML ALIAS
element to the java code
creating its corresponding alias runtime component.
- writeComponent in interface TagCompiler
_current_component
- the Alias XML tag to be compiled_element_name
- its element name_configuration_var_name
- its containing configuration
java code variable name_writer
- where to write the translated java code_configuration_name
- the alias's configuration
name XML property