public interface StringExpression extends Expression
StringExpression interface is provided to facilitate the
assembly of String-valued expressions to be used in Java
generated for First-Use Assembly.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
EXPR_BOOLEAN, EXPR_INTEGER, EXPR_PROPERTY, EXPR_STRING| Modifier and Type | Method and Description |
|---|---|
void |
append(StringExpression aOther)
Extends this
StringExpression with the specified one. |
void |
appendExpression(java.lang.String aExpression)
Extends this
StringExpression with the specified Java
expression, which is presumed to produce a String value. |
void |
appendString(java.lang.String aString)
Extends this
StringExpression with the specified
String value. |
boolean |
isEmpty()
Indicates whether this instance represents an empty
String. |
java.lang.String |
toString()
|
addExpression, getType, isExpression, isLiteralstatic final java.lang.String VERSION
static final java.lang.String COPYRIGHT
void append(StringExpression aOther)
StringExpression with the specified one.aOther - StringExpression to be appendedvoid appendExpression(java.lang.String aExpression)
StringExpression with the specified Java
expression, which is presumed to produce a String value.aExpression - Java expression to be appendedvoid appendString(java.lang.String aString)
StringExpression with the specified
String value.aString - String value to be appendedboolean isEmpty()
String.true if this instance represents an empty
Stringjava.lang.String toString()
toString in class java.lang.ObjectString value of this instanceExpressionException - if this method is called when
isLiteral returns falseCopyright © 2014 Pegasystems Inc. All Rights Reserved.