public interface ICodeBuffer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
ICodeBuffer |
decreaseIndent()
Decreases the indentation level by one.
|
ICodeBuffer |
decreaseIndent(int aLevels)
Decreases the indentation level.
|
ICodeBuffer |
decreaseIndentAS()
Decreases the indentation level by one for "appendString" content.
|
ICodeBuffer |
decreaseIndentAS(int aLevels)
Decreases the indentation level for "appendString" content.
|
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 |
emitASconstln(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 |
emitAScsf(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 |
emitASln(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 |
increaseIndent(int aLevels)
Increases the indentation level.
|
ICodeBuffer |
increaseIndentAS()
Increases the indentation level by one for "appendString" content.
|
ICodeBuffer |
increaseIndentAS(int aLevels)
Increases the indentation level for "appendString" content.
|
ICodeBuffer |
setIndentContent(java.lang.String aIndentContent)
Sets the desired String to use for each indentation level.
|
ICodeBuffer |
setIndentContentAS(java.lang.String aIndentContent)
Sets the desired String to use for each indentation level for "appendString"
content.
|
ICodeBuffer |
setIndentLevel(int aLevel)
Sets the desired indentation level (e.g.
|
ICodeBuffer |
setIndentLevelAS(int aLevel)
Sets the desired indentation level (e.g.
|
ICodeBuffer setIndentLevel(int aLevel)
aLevel
- desired level; if less than 0, then 0 will be usedICodeBuffer setIndentContent(java.lang.String aIndentContent)
aIndentContent
- content for each indentation level.ICodeBuffer increaseIndent()
ICodeBuffer increaseIndent(int aLevels)
aLevels
- number of levels to increaseICodeBuffer decreaseIndent()
ICodeBuffer decreaseIndent(int aLevels)
aLevels
- number of levels to decreaseICodeBuffer emit(java.lang.String aContent)
aContent
- content to be addedICodeBuffer emitln(java.lang.String aContent)
aContent
- content to be addedICodeBuffer emitEscaped(java.lang.String aContent)
aContent
- content to be addedICodeBuffer 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 addedICodeBuffer emitCSF(java.lang.String aContent)
aContent
- content to be addedICodeBuffer emitCSFln(java.lang.String aContent)
aContent
- content to be addedICodeBuffer setIndentLevelAS(int aLevel)
aLevel
- desired level; if less than 0, then 0 will be usedICodeBuffer setIndentContentAS(java.lang.String aIndentContent)
aIndentContent
- content for each indentation level.ICodeBuffer increaseIndentAS()
ICodeBuffer increaseIndentAS(int aLevels)
aLevels
- number of levels to increaseICodeBuffer decreaseIndentAS()
ICodeBuffer decreaseIndentAS(int aLevels)
aLevels
- number of levels to decreaseICodeBuffer emitAS(java.lang.String aContent)
The content will be processed through StringUtils.escapeIntoJavaString.
aContent
- content to be addedICodeBuffer emitASln(java.lang.String aContent)
The content will be processed through StringUtils.escapeIntoJavaString.
aContent
- content to be addedICodeBuffer 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 addedICodeBuffer emitASconstln(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 addedICodeBuffer emitASraw(java.lang.String aContent)
aContent
- content to be addedICodeBuffer emitAScsf(java.lang.String aContent)
aContent
- content to be addedCopyright © 2018 Pegasystems Inc. All Rights Reserved.