public class WebSpeedHelper extends BaseHelper
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
FOOTER_SPEC
Standard WebSpeed footer template.
|
private static java.lang.String |
LOCAL_OPTS_SPEC
Standard WebSpeed local-e4gl-options procedure template.
|
private static java.lang.String |
VERSION
WebSpeed E4GL version string.
|
entities, opts, unsafeNEWLINE| Constructor and Description |
|---|
WebSpeedHelper() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
closeComment(boolean expr)
Return the text used to end a comment that removes the start or end
tag for a statement or expression escape.
|
java.lang.String |
footer()
Return the text for the footer of the generated file.
|
java.lang.String |
header()
Return the text for the header of the generated file.
|
void |
initialize(Options opts)
Provides the known configuration to the helper and allows it to
prepare for use.
|
java.lang.String |
openComment(boolean expr)
Return the text used to start a comment that removes the start or end
tag for a statement or expression escape.
|
closeContentTypeComment, closeExprEscape, closeHTML, entityConvert, escapeHTML, openContentTypeComment, openExprEscape, openHTML, replace, suffixprivate static final java.lang.String FOOTER_SPEC
private static final java.lang.String LOCAL_OPTS_SPEC
private static final java.lang.String VERSION
public void initialize(Options opts)
initialize in interface CompatibilityHelperinitialize in class BaseHelperopts - The configuration.public java.lang.String header()
header in interface CompatibilityHelperheader in class BaseHelperpublic java.lang.String openComment(boolean expr)
openComment in interface CompatibilityHelperopenComment in class BaseHelperexpr - true if this is an expression escape,
false for a statement escape.null
if the escape should be removed instead of commented.public java.lang.String closeComment(boolean expr)
closeComment in interface CompatibilityHelpercloseComment in class BaseHelperexpr - true if this is an expression escape,
false for a statement escape.null
if the escape should be removed instead of commented.public java.lang.String footer()
footer in interface CompatibilityHelperfooter in class BaseHelper