org.objectweb.jonathan.tools.compilers
Class SequenceCompiler
java.lang.Object
org.objectweb.jonathan.tools.compilers.SequenceCompiler
- TagCompiler
public class SequenceCompiler
extends java.lang.Object
Implements the Sequence XML to java compilation.
Used by the XML to java translator:
Kcf2java
.
This is not an Kcf2java built-in tag compiler.
It must therefore be provided in the Kcf2java property
file (which is an Kcf2java command line argument) in
order to allow Kcf2java to compile XML configuration
files with containing valid implicit factory tags.
String | writeComponent(XMLElement _current_component, String _element_name, String _configuration_var_name, Writer _writer, String _configuration_name) - Writes the java code translation of the given sequence
XML description (as a
XMLElement ).
|
writeComponent
public String writeComponent(XMLElement _current_component,
String _element_name,
String _configuration_var_name,
Writer _writer,
String _configuration_name)
throws IOException
Writes the java code translation of the given sequence
XML description (as a XMLElement
).
- writeComponent in interface TagCompiler
_current_component
- the sequence component
XML description_element_name
- its element's name_configuration_var_name
- unused_writer
- used to write the java translation code_configuration_name
- unused
- the newly created sequence java component's
variable name