|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.slamd.scripting.general.StringLiteral
This class defines a string literal value, which is simply a string value that occurs in a script file without being encapsulated in a variable.
| Constructor Summary | |
StringLiteral(java.lang.String stringValue)
Creates a new string literal with the specified value. |
|
| Method Summary | |
java.lang.String |
getArgumentAsString()
Retrieves a string representation of this argument in a form appropriate for inclusion in a script. |
java.lang.String |
getArgumentType()
Retrieves the name of the data type associated with this string literal. |
Variable |
getArgumentValue()
Retrieves the value of this string literal encapsulated in a string variable. |
java.lang.String |
getValueAsString()
Retrieves a string representation of the value of this argument. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StringLiteral(java.lang.String stringValue)
stringValue - The value to use for this string literal.| Method Detail |
public java.lang.String getArgumentType()
getArgumentType in interface Argument
public Variable getArgumentValue()
throws ScriptException
getArgumentValue in interface ArgumentScriptException - If a problem occurs while determining the value
of this string literal.public java.lang.String getArgumentAsString()
getArgumentAsString in interface Argumentpublic java.lang.String getValueAsString()
getValueAsString in interface Argument
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||