|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.rse.util.clprompter.ClVariable
public class ClVariable
Used to parse variable names!
Field Summary | |
---|---|
static String |
Copyright
|
static int |
DCL_VARIABLE_NAME_LENGTH
the length CL allows for declared variable names |
static int |
VARIABLE_NAME_LENGTH
the length CL allows for variable names |
Constructor Summary | |
---|---|
ClVariable(String text)
Constructor for this class. |
|
ClVariable(String text,
String kwd)
Constructor for this class. |
Method Summary | |
---|---|
String |
toString()
returns the uppercased variable name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
public static final int VARIABLE_NAME_LENGTH
public static final int DCL_VARIABLE_NAME_LENGTH
Constructor Detail |
---|
public ClVariable(String text) throws ClParseException, ClSyntaxException
text
- The text to parse as a variable.
ClParseException
- This exception is thrown when the text supplied isn't a
correct CL variable. The message contained in this
exception is not for display.
ClSyntaxException
- Never is issued for this constructorpublic ClVariable(String text, String kwd) throws ClParseException, ClSyntaxException
text
- The text to parse as a variable.kwd
- The keyword that this variable is being parsed for.
Used in the message for the ClSyntaxException.
ClParseException
- This exception is thrown when the text supplied isn't a
correct CL variable. The message contained in this
exception is not for display.
ClSyntaxException
- This exception is thrown when the variable name is too
long, and kwd is specified. The message contained in this
exception can be displayed.Method Detail |
---|
public String toString()
toString
in class Object
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |