|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.openorb.rmi.compiler.parser.JavaParser
This class builds the java data tree needed for the generation of idl code.
| Constructor Summary | |
JavaParser()
|
|
JavaParser(boolean root)
|
|
| Method Summary | |
org.openorb.compiler.object.IdlObject |
add_idl_file(java.util.Vector include,
org.openorb.CORBA.kernel.Configurator configurator,
java.lang.String idl_file_name)
Add idl included files |
void |
add_idl_files(java.util.Vector vect,
java.util.Vector include,
java.util.Vector symbole)
Add idl included files |
void |
create_idl_tree()
Create the IDL tree |
static boolean |
doGenerateValueMethods()
|
static java.util.Vector |
getAlreadyProcessedClasses()
|
static java.util.Vector |
getCompilationTree()
|
java.lang.Class |
getCurrentClass()
Reading Accessor for the current parsed class |
org.openorb.compiler.object.IdlObject |
getIdlTreeRoot()
Reading Accessor for the current parsed class |
static java.util.Hashtable |
getMappingNames()
|
void |
init()
|
static java.lang.Class |
load_class(java.lang.String filename)
Allow to load a class |
void |
load_standard_idl(org.openorb.CORBA.kernel.Configurator configurator,
java.util.Vector include)
Add idl included files |
void |
parse_class(java.lang.Class c)
Parse the class |
void |
parse_classes(java.lang.Class[] classes)
Parse the classes |
org.openorb.compiler.object.IdlObject |
parse_java(java.lang.String java_file_name)
This is the main method called to parse the java class file |
org.openorb.compiler.object.IdlObject |
parse_java(java.lang.String java_file_name,
boolean check_implements)
This is the main method called to parse the java class file |
org.openorb.compiler.object.IdlObject |
returnObject(java.lang.String scope,
boolean limit)
Look for a definition in all the compilation trees |
void |
setCurrentClass(java.lang.Class newClass)
Writing Accessor for the new class to be parsed |
static void |
setGenerateValueMethods(boolean value)
|
void |
setIdlTreeRoot(org.openorb.compiler.object.IdlObject new_idl_root)
Writing Accessor for the current parsed class |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JavaParser()
public JavaParser(boolean root)
| Method Detail |
public static java.util.Vector getCompilationTree()
public static java.util.Vector getAlreadyProcessedClasses()
public static java.util.Hashtable getMappingNames()
public static boolean doGenerateValueMethods()
public static void setGenerateValueMethods(boolean value)
public void setCurrentClass(java.lang.Class newClass)
public java.lang.Class getCurrentClass()
public org.openorb.compiler.object.IdlObject getIdlTreeRoot()
public org.openorb.compiler.object.IdlObject returnObject(java.lang.String scope,
boolean limit)
public void setIdlTreeRoot(org.openorb.compiler.object.IdlObject new_idl_root)
public void init()
public org.openorb.compiler.object.IdlObject parse_java(java.lang.String java_file_name)
java_file_name - The name of the file to parse
public org.openorb.compiler.object.IdlObject parse_java(java.lang.String java_file_name,
boolean check_implements)
java_file_name - The name of the file to parsecheck_implements - Check whether the class is an implementation class
and try to get the remote interface in this case.
public static java.lang.Class load_class(java.lang.String filename)
throws java.lang.ClassNotFoundException
filename - The name of the class file to load and parsejava.lang.ClassNotFoundException - If no class was foundpublic void parse_classes(java.lang.Class[] classes)
classes - The classes to parsepublic void parse_class(java.lang.Class c)
c - The class to parsepublic void create_idl_tree()
public void load_standard_idl(org.openorb.CORBA.kernel.Configurator configurator,
java.util.Vector include)
public void add_idl_files(java.util.Vector vect,
java.util.Vector include,
java.util.Vector symbole)
public org.openorb.compiler.object.IdlObject add_idl_file(java.util.Vector include,
org.openorb.CORBA.kernel.Configurator configurator,
java.lang.String idl_file_name)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||