java.lang.Object | |
↳ | com.google.gwt.i18n.rebind.StringGenerator |
Helper class to produce string expressions consisting of literals and computed values.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Initialize the StringGenerator with an output buffer.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Append an expression to this string expression.
| |||||||||||
Append part of a string literal.
| |||||||||||
Append an expression to this string expression.
| |||||||||||
Complete the string, closing an open quote and handling empty strings.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Initialize the StringGenerator with an output buffer.
buf | output buffer |
---|---|
returnsSafeHtml | if true, an expression of type SafeHtml is
being generated, otherwise a String -valued expression is
generated
|
Append an expression to this string expression.
expression | to add |
---|---|
isSafeHtmlTyped | true if the expression is known to be of type SafeHtml; only relevant if this generator has been initialized to generate a SafeHtml-valued expression |
isPrimititiveTyped | true if the expression is of a primitive type; only relevant if this generator has been initialized to generate a SafeHtml-valued expression |
needsConversionToString | true if the expression is not known to be of type String and needs to be converted |
Append part of a string literal.
str | part of string literal |
---|
Append an expression to this string expression.
expression | to add, which the caller asserts is String-valued |
---|
Complete the string, closing an open quote and handling empty strings.