|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICodeBuffer
Field Summary | |
---|---|
static java.lang.String |
VERSION
|
Method Summary | |
---|---|
ICodeBuffer |
decreaseIndent()
Decreases the indentation level by one. |
ICodeBuffer |
emit(java.lang.String aContent)
Adds specified content fragment to primary buffer. |
ICodeBuffer |
emitAS(java.lang.String aContent)
Accumulates the specified content which will be added to the primary buffer at the end of sequence of "emitAS*" method calls as the parameter to the "tools.appendString()" method. |
ICodeBuffer |
emitASconst(java.lang.String aContent)
Accumulates the specified content which will be added to the primary buffer at the end of sequence of "emitAS*" method calls as the parameter to the "tools.appendString()" method. |
ICodeBuffer |
emitASraw(java.lang.String aContent)
Accumulates the specified content which will be added to the primary buffer at the end of sequence of "emitAS*" method calls as the parameter to the "tools.appendString()" method. |
ICodeBuffer |
emitCSF(java.lang.String aContent)
Adds specified content fragment to primary buffer after processing it through StringUtils.crossScriptingFilter. |
ICodeBuffer |
emitCSFln(java.lang.String aContent)
Adds specified content fragment to primary buffer after processing it through StringUtils.crossScriptingFilter and then appends a newline character. |
ICodeBuffer |
emitEscaped(java.lang.String aContent)
Adds specified content fragment to primary buffer after processing it through StringUtils.escapeIntoJavaString. |
ICodeBuffer |
emitEscapedln(java.lang.String aContent)
Adds specified content fragment to primary buffer after processing it through StringUtils.escapeIntoJavaString and then appends a newline character. |
ICodeBuffer |
emitln(java.lang.String aContent)
Adds specified content fragment to primary buffer followed by a newline character. |
ICodeBuffer |
increaseIndent()
Increases the indentation level by one. |
ICodeBuffer |
setIndentContent(java.lang.String aIndentContent)
Sets the desired String to use for each indentation level. |
ICodeBuffer |
setIndentLevel(int aLevel)
Sets the desired indentation level (e.g. |
Field Detail |
---|
static final java.lang.String VERSION
Method Detail |
---|
ICodeBuffer setIndentLevel(int aLevel)
aLevel
- desired level; if less than 0, then 0 will be used
ICodeBuffer setIndentContent(java.lang.String aIndentContent)
aIndentContent
- content for each indentation level.
ICodeBuffer increaseIndent()
ICodeBuffer decreaseIndent()
ICodeBuffer emit(java.lang.String aContent)
aContent
- content to be added
ICodeBuffer emitln(java.lang.String aContent)
aContent
- content to be added
ICodeBuffer emitEscaped(java.lang.String aContent)
aContent
- content to be added
ICodeBuffer emitEscapedln(java.lang.String aContent)
aDepth
- number of additional times the content should
be escaped (specify 0 to escape once, the most typical use)aContent
- content to be added
ICodeBuffer emitCSF(java.lang.String aContent)
aContent
- content to be added
ICodeBuffer emitCSFln(java.lang.String aContent)
aContent
- content to be added
ICodeBuffer emitAS(java.lang.String aContent)
The content will be processed through StringUtils.escapeIntoJavaString.
aContent
- content to be added
ICodeBuffer emitASconst(java.lang.String aContent)
The content will be processed through StringUtils.escapeIntoJavaString and then surrounded by quotation marks so that the content is treated as a constant String. Consecutive calls to "emitASconst" will have their content merged to a single constant String.
aContent
- content to be added
ICodeBuffer emitASraw(java.lang.String aContent)
aContent
- content to be added
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |