|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.BTTProcessorHandler
com.ibm.btt.automaton.DSEState
com.ibm.btt.automaton.html.DSEHtmlState
@ATTR(value={"conseq#Boolean#IMPLIED","finalPage#String#IMPLIED","keepCtxt#Boolean#IMPLIED","inputMapFmt#String#IMPLIED","outputMapFmt#String#IMPLIED","interStateFmt#String#IMPLIED"}) public class DSEHtmlState
This class represents a state for an HTML processor.
Field Summary | |
---|---|
static java.lang.String |
CONSEQ
|
protected Tag |
contextTag
|
static java.lang.String |
FINAL_PAGE
|
protected java.lang.String |
finalPage
|
static java.lang.String |
INPUT_MAP_FMT
|
Tag |
inputFormatTag
|
static java.lang.String |
INTER_STATE_FMT
|
protected Tag |
interStateFmt
|
static java.lang.String |
KEEP_CTXT_FOR_VALIDATION
|
protected boolean |
keepCtxt
|
static java.lang.String |
OUTPUT_MAP_FMT
|
Tag |
outputFormatTag
|
protected Context |
stateContext
|
Fields inherited from class com.ibm.btt.automaton.DSEState |
---|
ABORT_PROCESS, actionHandlers, CHANGE_STATE, CONDITIONS, CONTINUE, DEFAULT_TYPE, done, ENTRY_ACTIONS, entryActionsTags, EXECUTE_ACTION_AND_CHANGESTATE, EXIT_ACTIONS, exitActionsTags, exitEventName, FINAL_TYPE, ignoreEntryActions, INITIAL_TYPE, name, PAGE_TYPE, pqThread, processor, runningModeFlag, sharedNotifiers, SKIP_ACTION, SKIP_ALL_ACTIONS, SKIP_CONDITIONS, SUBFLOW_TYPE, suspendedThread, SUSPENDTIME, tag, transitions, TRANSITIONS, type, TYPE, TYPE_ID_INFO, typeIdInfo |
Constructor Summary | |
---|---|
DSEHtmlState()
|
Method Summary | |
---|---|
void |
activate()
The HtmlState has two special types which differentiates it from the State. |
protected void |
changeProcessorState(BTTProcessorEventObject event)
This utility method is used to change the state of a processor in response to a change state event. |
protected void |
doEntryActions(Vector otherTrigs)
Excecutes the entry actions for this state. |
protected boolean |
executeActions(TransitionDescriptor transition,
BTTProcessorEventObject sourceEvent,
Vector otherTrigs)
This utility method executes the actions associated with the supplied transition. |
protected boolean |
executeActions(Vector actionTags,
BTTProcessorEventObject sourceEvent,
Vector otherTrigs,
boolean ignoreFlag,
java.lang.String transitionName)
This method executes the actions associated with the action tags in the supplied vector of tags. |
protected void |
fireDSEChangeStateEvent(java.lang.String targetStateName,
boolean ignoreEntryActionsFlag)
Fires a change state event to the processor. |
protected void |
fireDSEChangeStateEvent(java.lang.String targetStateName,
boolean ignoreEntryActionsFlag,
boolean ignoreExitActionsFlag,
java.lang.String transitionName)
This method dispatches a change state event with required information |
protected void |
fireDSEChangeStateEvent(java.lang.String targetStateName,
boolean ignoreEntryActionsFlag,
java.lang.String transitionName)
This method dispatches a change state event with required information |
java.lang.String |
getConsequentiality()
This method returns the consequentiality of this state. |
Context |
getContext()
|
Tag |
getContextTag()
|
java.lang.String |
getFinalPage()
This method gets the final page of this state. |
Tag |
getInputFormatTag()
Returns the input format tag attribute of this class. |
Tag |
getInterStateFormatTag()
|
Tag |
getOutputFormatTag()
Returns the output format tag attribute of this class. |
java.lang.Object |
initializeFrom(Tag aTag)
Initializes the state of this object from externalized data |
boolean |
isIgnoreReturnType()
Returns a boolean indicating whether normal checking for return type should be ignored for this state. |
boolean |
isKeepContext()
|
protected void |
processEventQueue(Vector otherTrigs)
This method does most of the logical work of the state. |
void |
setConsequentiality(java.lang.String newConsequentiality)
This method sets the consequentiality of this state. |
void |
setContext(Context context)
|
void |
setContextTag(Tag aTag)
|
void |
setFinalPage(java.lang.String newFinalPage)
This method sets the final page of this state. |
void |
setIgnoreReturnType(boolean newIgnoreReturnType)
Sets the return type attribute of this object. |
void |
setInputFormatTag(Tag newInputFormatTag)
Sets the input format tag attribute of this class. |
void |
setInterStateFormatTag(Tag newInterStateFormatTag)
|
void |
setKeepContext(boolean keep)
|
void |
setOutputFormatTag(Tag newOutputFormatTag)
Sets the output format tag attribute format. |
void |
terminate()
Provides a housekeeping process for the DSEState as a notifier instance. |
Methods inherited from class com.ibm.btt.base.BTTProcessorHandler |
---|
handleEvent, handleEvent, stopHandlingEvent, stopHandlingEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.btt.base.ProcessorHandler |
---|
handleEvent, handleEvent, stopHandlingEvent, stopHandlingEvent |
Field Detail |
---|
public static final java.lang.String FINAL_PAGE
public static final java.lang.String CONSEQ
public static final java.lang.String INPUT_MAP_FMT
public static final java.lang.String OUTPUT_MAP_FMT
public Tag inputFormatTag
public Tag outputFormatTag
protected java.lang.String finalPage
public static final java.lang.String INTER_STATE_FMT
public static final java.lang.String KEEP_CTXT_FOR_VALIDATION
protected Tag contextTag
protected Context stateContext
protected Tag interStateFmt
protected boolean keepCtxt
Constructor Detail |
---|
public DSEHtmlState()
Method Detail |
---|
public void activate() throws DSEInvalidArgumentException, DSEProcessorException
activate
in interface State
activate
in class DSEState
DSEInvalidArgumentException
DSEProcessorException
protected void changeProcessorState(BTTProcessorEventObject event) throws DSEProcessorException
event
- com.ibm.btt.base.DSEEventObject
DSEProcessorException
protected void doEntryActions(Vector otherTrigs) throws DSEInvalidArgumentException, DSEProcessorException
doEntryActions
in class DSEState
otherTrigs
- com.ibm.btt.base.Vector
DSEInvalidArgumentException
DSEProcessorException
protected boolean executeActions(TransitionDescriptor transition, BTTProcessorEventObject sourceEvent, Vector otherTrigs) throws DSEException
transition
- com.ibm.btt.automaton.TransitionDescriptorsourceEvent
- com.ibm.btt.base.DSEEventObjectotherTrigs
- com.ibm.btt.base.Vector
DSEException
protected boolean executeActions(Vector actionTags, BTTProcessorEventObject sourceEvent, Vector otherTrigs, boolean ignoreFlag, java.lang.String transitionName) throws DSEException
actionTags
- com.ibm.btt.base.VectorsourceEvent
- com.ibm.btt.base.DSEEventObjectotherTrigs
- com.ibm.btt.base.VectorignoreFlag
- booleantransitionName
- java.lang.String
DSEException
protected void fireDSEChangeStateEvent(java.lang.String targetStateName, boolean ignoreEntryActionsFlag) throws DSEProcessorException
targetStateName
- java.lang.StringignoreEntryActionsFlag
- boolean
DSEProcessorException
protected void fireDSEChangeStateEvent(java.lang.String targetStateName, boolean ignoreEntryActionsFlag, java.lang.String transitionName) throws DSEProcessorException
targetStateName
- java.lang.StringignoreEntryActionsFlag
- booleantransitionName
- java.lang.String
DSEProcessorException
protected void fireDSEChangeStateEvent(java.lang.String targetStateName, boolean ignoreEntryActionsFlag, boolean ignoreExitActionsFlag, java.lang.String transitionName) throws DSEProcessorException
targetStateName
- java.lang.StringignoreEntryActionsFlag
- booleanignoreExitActionsFlag
- booleantransitionName
- java.lang.String
DSEProcessorException
public java.lang.String getConsequentiality()
public Context getContext()
public Tag getContextTag()
public Tag getInterStateFormatTag()
public java.lang.String getFinalPage()
public Tag getInputFormatTag()
public Tag getOutputFormatTag()
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException, DSEException
initializeFrom
in interface State
initializeFrom
in class DSEState
aTag
- com.ibm.btt.base.Tag
java.io.IOException
DSEException
public boolean isIgnoreReturnType()
public boolean isKeepContext()
protected void processEventQueue(Vector otherTrigs) throws DSEInvalidArgumentException, DSEProcessorException
processEventQueue
in class DSEState
otherTrigs
- com.ibm.btt.base.Vector
DSEInvalidArgumentException
DSEProcessorException
public void setConsequentiality(java.lang.String newConsequentiality)
newConsequentiality
- java.lang.Stringpublic void setContext(Context context)
public void setContextTag(Tag aTag)
public void setInterStateFormatTag(Tag newInterStateFormatTag)
public void setKeepContext(boolean keep)
public void setFinalPage(java.lang.String newFinalPage)
newFinalPage
- java.lang.Stringpublic void setIgnoreReturnType(boolean newIgnoreReturnType)
newIgnoreReturnType
- booleanpublic void setInputFormatTag(Tag newInputFormatTag)
newInputFormatTag
- com.ibm.btt.base.Tagpublic void setOutputFormatTag(Tag newOutputFormatTag)
newOutputFormatTag
- com.ibm.btt.base.Tagpublic void terminate()
terminate
in interface State
terminate
in class DSEState
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |