|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.objectweb.jonathan.tools.compilers.IncludeCompiler
public class IncludeCompiler
XML Include tag to java code compiler.
Used by Kcf2java through its getTagCompiler()
method to compile the contents of Include tags to Java.
| Constructor Summary | |
|---|---|
IncludeCompiler()
|
|
| Method Summary | |
|---|---|
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 INCLUDE element to the java code
creating all runtime components to be included. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IncludeCompiler()
| Method Detail |
|---|
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
INCLUDE element to the java code
creating all runtime components to be included.
writeComponent in interface TagCompiler_current_component - the Include 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 include's configuration
name XML property
java.io.IOException - if something goes wrong.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||