All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.beans.script.comps.netrexx.SCRNetReXXGenerator
java.lang.Object
|
+----com.ibm.beans.script.comps.java.SCRJavaGenerator
|
+----com.ibm.beans.script.comps.netrexx.SCRNetReXXGenerator
- public class SCRNetReXXGenerator
- extends SCRJavaGenerator
This class generates and compiles the NetRexx source code.
-
SCRNetReXXGenerator(SCRNetReXXComponent)
- Constructor for SCRNetRexxGenerator.
-
codeGen(Vector)
- Generates the NetRexx source code.
-
compile(String, boolean)
- Compiles the NetRexx source file.
-
genByName(SCRIDEInstance, String)
- Generate related NetRexx source code for each registered Java object and
event method.
-
genDeclaration(SCRObjectHandle)
- Generates declaration for a registered Java object.
-
genInitialization(SCRObjectHandle)
- Generates the system initialization code for a registered Java object.
-
getFileExtension()
- Generates the NetRexx source file extension.
SCRNetReXXGenerator
public SCRNetReXXGenerator(SCRNetReXXComponent newScrComponent)
- Constructor for SCRNetRexxGenerator.
- Parameters:
- newScrComponent - The NetReXX scripting component.
compile
protected boolean compile(String fileName,
boolean withDebug)
- Compiles the NetRexx source file.
- Parameters:
- fileName - The NetRexx source file name.
- withDebug -
The boolean that specifies if the debug flags are on
for compilation. true, compiles with debug flag set;
false, compiles without debug flag set.
- Overrides:
- compile in class SCRJavaGenerator
codeGen
protected void codeGen(Vector edit_objs) throws Exception
- Generates the NetRexx source code.
- Parameters:
- edit_objs - The vector of editable objects.
- Throws: Exception
- Thrown if code generation fails.
- Overrides:
- codeGen in class SCRJavaGenerator
genByName
protected void genByName(SCRIDEInstance instance,
String eventName)
- Generate related NetRexx source code for each registered Java object and
event method.
- Parameters:
- instance - The IDE instance associated with the Java object.
- eventName - The event method name.
- Overrides:
- genByName in class SCRJavaGenerator
genDeclaration
protected void genDeclaration(SCRObjectHandle handle)
- Generates declaration for a registered Java object.
- Parameters:
- handle - The object handle associate with the Java object.
- Overrides:
- genDeclaration in class SCRJavaGenerator
genInitialization
protected void genInitialization(SCRObjectHandle handle)
- Generates the system initialization code for a registered Java object.
- Parameters:
- handle - The object handle associated with the Java object
- Overrides:
- genInitialization in class SCRJavaGenerator
getFileExtension
protected String getFileExtension()
- Generates the NetRexx source file extension.
- Returns:
- The NetRexx file extension.
- Overrides:
- getFileExtension in class SCRJavaGenerator
All Packages Class Hierarchy This Package Previous Next Index