public class AliasCompiler extends java.lang.Object implements TagCompiler
Kcf2java
through its getTagCompiler()
method to write Alias tags' java code compilation.Constructor and Description |
---|
AliasCompiler() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
writeComponent(nanoxml.XMLElement _current_component,
java.lang.String _element_name,
java.lang.String _configuration_var_name,
java.io.Writer _writer,
java.lang.String _configuration_name)
Translates a XML
ALIAS element to the java code
creating its corresponding alias runtime component. |
public java.lang.String writeComponent(nanoxml.XMLElement _current_component, java.lang.String _element_name, java.lang.String _configuration_var_name, java.io.Writer _writer, java.lang.String _configuration_name) throws java.io.IOException
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 propertyjava.io.IOException
- if something goes wrong.