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, unsafe
NEWLINE
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, suffix
private 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 CompatibilityHelper
initialize
in class BaseHelper
opts
- The configuration.public java.lang.String header()
header
in interface CompatibilityHelper
header
in class BaseHelper
public java.lang.String openComment(boolean expr)
openComment
in interface CompatibilityHelper
openComment
in class BaseHelper
expr
- 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 CompatibilityHelper
closeComment
in class BaseHelper
expr
- 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 CompatibilityHelper
footer
in class BaseHelper