|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StreamBuilderToolKit
The StreamBuilderToolKit
interface identifies the functionality
available to support the generation of a defined stream, using First-Use
Assembled Java.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
VERSION
|
Method Summary | |
---|---|
void |
appendCSF(java.lang.String aSource)
Applies StringUtils.crossScriptingFilter() to aSource and adds the result to the generated stream. |
void |
appendFormatted(java.lang.String aSource,
byte aFormat)
Applies indicated formatting to specified string and adds result to generated stream. |
void |
appendParamCSF(java.lang.String aSource)
Applies StringUtils.crossScriptingFilter() to tools.getParamValue(aSource) and adds the result to the generated stream. |
void |
appendProperty(ClipboardProperty aProperty,
java.lang.String aStreamSpec,
boolean aWantInput)
Adds indicated Rule-HTML-Property display for specified property instance to generated stream. |
void |
appendStream(StringMap aKeys)
Adds specified, separately defined, stream to generated stream. |
void |
appendStream(StringMap aKeys,
ParameterPage aParamPage)
Adds specified, separately defined, stream to generated stream. |
void |
appendString(java.lang.String aSource)
Adds specified content to generated stream. |
void |
appendURL(java.lang.String aURL)
Adds specified URL to the stream, possibly modified to support the directed-work security requirements. |
void |
disableInput()
Specifies that input is disabled for the remainder of the stream. |
ClipboardProperty |
getActive()
Identifies the current active property. |
java.lang.String |
getActiveName()
Identifies the entry handle for the current active property. |
java.lang.String |
getActiveValue()
Identifies the value of the current active property. |
java.lang.String |
getEntryHandle(java.lang.String aReference)
Get an entry handle for a property reference. |
java.lang.String |
getOpposite(java.lang.String aValue)
Identifies the 'opposite' of a specified String value, used
when a CheckBox becomes unchecked. |
java.lang.String |
getParamValueCSF(java.lang.String aSource)
Returns the value the specified parameter after applying the cross-site scripting filter. |
java.lang.String |
getSaveValue(java.lang.String aName)
Identifies the value most recently associated with the specified name (by a SAVE directive). |
java.lang.String |
getTargetName()
Identifies the value to use for the NAME attribute of HTML StartTags: the entry handle for a target property or the name of a target parameter. |
java.lang.String |
getTargetValue()
Identifies the value of the current target reference. |
boolean |
hasEditableEnabled()
|
boolean |
hasInputEnabled()
Indicates whether input is enabled for this HTML stream. |
boolean |
includeShowDeclarativeProperty()
Deprecated. use PegaStreamAPI.isShowMeDeclarativeEnabled() instead |
boolean |
includeShowMe()
Deprecated. use PegaStreamAPI.isShowMeInsertEnabled() instead |
boolean |
includeShowProperty()
Deprecated. use PegaStreamAPI.isShowMePropertyEnabled() instead |
ClipboardProperty |
putActive(ClipboardProperty aNewActive)
Establishes the specified instance as the new active property. |
void |
putSaveValue(java.lang.String aName,
java.lang.String aValue)
Establishes an association between the specified value and the specified name. |
void |
putTarget(java.lang.Object aTarget)
Establishes or clears the target reference. |
java.lang.String |
returnFormatted(java.lang.String aSource,
byte aFormat)
Used by tag library implementations to format a reference string using the format specified by the input paramter. |
void |
setEditable(boolean bEditable)
|
void |
setInput(boolean aInput)
Sets the input for the remainder of the stream |
void |
setShowProperty(boolean aValue)
Deprecated. use PegaStreamAPI.enableShowMeProperty(boolean) instead |
java.lang.String |
thisSubscript()
|
boolean |
useModeInput()
Indicates whether the input-mode display has been requested for the active property and is appropriate. |
Field Detail |
---|
static final java.lang.String COPYRIGHT
static final java.lang.String VERSION
Method Detail |
---|
void appendString(java.lang.String aSource)
aSource
- content to add to streamvoid appendFormatted(java.lang.String aSource, byte aFormat)
aSource
- string to be formattedaFormat
- indicates desired formatting, must be one of:
void appendCSF(java.lang.String aSource)
aSource
- string to be filteredvoid appendParamCSF(java.lang.String aSource)
aSource
- name of parameter whose value is to be filteredvoid appendStream(StringMap aKeys)
aKeys
- identifies stream definition to add.void appendStream(StringMap aKeys, ParameterPage aParamPage)
aKeys
- identifies stream definition to add.aParamPage
- new parameter page to use during executionvoid appendProperty(ClipboardProperty aProperty, java.lang.String aStreamSpec, boolean aWantInput)
aProperty
- property instance to be displayedaStreamSpec
- optional Rule-HTML-Property specification. The
instance identified by the corresponding Rule-Obj-Property instance is
used if not explicitly overridden here.aWantInput
- identifies whether the $MODE-INPUT
form
of the display is requestedvoid appendURL(java.lang.String aURL)
aURL
- the URLClipboardProperty putActive(ClipboardProperty aNewActive)
aNewActive
- new active property
ClipboardProperty getActive()
java.lang.String getActiveName()
java.lang.String getActiveValue()
java.lang.String getParamValueCSF(java.lang.String aSource)
aSource
- name of parameter to return
void putTarget(java.lang.Object aTarget)
null
target may not be specified when the current target is non-null
.
aTarget
- target reference; must be one of:
ClipboardProperty
instance -- the target property;
must be scalarString
instance -- name of the target parameternull
-- clear the target referencejava.lang.String getTargetName()
java.lang.String getTargetValue()
void putSaveValue(java.lang.String aName, java.lang.String aValue)
aName
- name with which the specified value is to be associatedaValue
- value to be associated with the specified nameboolean hasEditableEnabled()
void setEditable(boolean bEditable)
java.lang.String getSaveValue(java.lang.String aName)
SAVE
directive).
aName
- name whose associated value is desired
String
if no association has been made for this nameboolean hasInputEnabled()
true
when input is enabled for this streamvoid disableInput()
void setInput(boolean aInput)
aInput
- boolean useModeInput()
true
when the input-mode display has been requestedboolean includeShowMe()
PegaStreamAPI.isShowMeInsertEnabled()
instead
true
when 'Show-Me' mode is enabledboolean includeShowProperty()
PegaStreamAPI.isShowMePropertyEnabled()
instead
true
when 'Show-Property' mode is enabledvoid setShowProperty(boolean aValue)
PegaStreamAPI.enableShowMeProperty(boolean)
instead
aValue
- true or false value of the 'Show-Property' flag.boolean includeShowDeclarativeProperty()
PegaStreamAPI.isShowMeDeclarativeEnabled()
instead
true
when 'Show-Property' mode is enabledjava.lang.String getOpposite(java.lang.String aValue)
String
value, used
when a CheckBox becomes unchecked.
aValue
- value of a type=checkbox input tag
java.lang.String returnFormatted(java.lang.String aSource, byte aFormat)
aSource
- the string to formataFormat
- the format
java.lang.String thisSubscript()
java.lang.String getEntryHandle(java.lang.String aReference)
aReference
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |