Package com.google.gwt.codegen.server
Class SafeHtmlStringGenerator
java.lang.Object
com.google.gwt.codegen.server.StringGenerator
com.google.gwt.codegen.server.SafeHtmlStringGenerator
Helper class to produce string expressions consisting of literals and
computed values.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gwt.codegen.server.StringGenerator
StringGenerator.Type
-
Field Summary
Fields inherited from class com.google.gwt.codegen.server.StringGenerator
buf, inString
-
Constructor Summary
ConstructorDescriptionInitialize the StringGenerator with an output buffer. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
protected void
protected void
Methods inherited from class com.google.gwt.codegen.server.StringGenerator
appendExpression, appendStringLiteral, appendStringValuedExpression, completeString, create
-
Constructor Details
-
SafeHtmlStringGenerator
SafeHtmlStringGenerator(StringBuilder buf) Initialize the StringGenerator with an output buffer.- Parameters:
buf
- output buffer
-
-
Method Details
-
afterExpression
- Specified by:
afterExpression
in classStringGenerator
-
beforeExpression
- Specified by:
beforeExpression
in classStringGenerator
-
finishOutput
protected void finishOutput()- Specified by:
finishOutput
in classStringGenerator
-
forceStringPrefix
protected void forceStringPrefix()- Specified by:
forceStringPrefix
in classStringGenerator
-
forceStringSuffix
protected void forceStringSuffix()- Specified by:
forceStringSuffix
in classStringGenerator
-