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.


Constructor Index

 o SCRNetReXXGenerator(SCRNetReXXComponent)
Constructor for SCRNetRexxGenerator.

Method Index

 o codeGen(Vector)
Generates the NetRexx source code.
 o compile(String, boolean)
Compiles the NetRexx source file.
 o genByName(SCRIDEInstance, String)
Generate related NetRexx source code for each registered Java object and event method.
 o genDeclaration(SCRObjectHandle)
Generates declaration for a registered Java object.
 o genInitialization(SCRObjectHandle)
Generates the system initialization code for a registered Java object.
 o getFileExtension()
Generates the NetRexx source file extension.

Constructors

 o SCRNetReXXGenerator
 public SCRNetReXXGenerator(SCRNetReXXComponent newScrComponent)
Constructor for SCRNetRexxGenerator.

Parameters:
newScrComponent - The NetReXX scripting component.

Methods

 o 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
 o 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
 o 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
 o 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
 o 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
 o 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