|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.base.DSEHandler | +--com.ibm.dse.automaton.DSEState | +--com.ibm.dse.automaton.html.DSEHtmlState
This class represents a state for an HTML processor.
Field Summary | |
protected java.lang.String |
finalPage
|
Fields inherited from class com.ibm.dse.automaton.DSEState |
ABORT_PROCESS,
actionHandlers,
CHANGE_STATE,
CONTINUE,
DEFAULT_TYPE,
done,
entryActionsTags,
EXECUTE_ACTION_AND_CHANGESTATE,
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,
type,
typeIdInfo |
Constructor Summary | |
DSEHtmlState()
|
Method Summary | |
void |
activate()
The HtmlState has two special types which differentiates it from the State. |
protected void |
changeProcessorState(DSEEventObject 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,
DSEEventObject sourceEvent,
Vector otherTrigs)
This utility method executes the actions associated with the supplied transition. |
protected boolean |
executeActions(Vector actionTags,
DSEEventObject 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. |
protected DataMapperFormat |
getDataMapFormat(Tag formatName)
This utility method returns a DataMapperFormat for the supplied format name. |
java.lang.String |
getFinalPage()
This method gets the final page of this state. |
DataMapperFormat |
getInputFormat()
Returns the input format attribute of this class. |
DataMapperFormat |
getOutputFormat()
Returns the output format 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. |
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 |
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 |
setInputFormat(DataMapperFormat newInputFormat)
Sets the input format attribute of this class. |
void |
setOutputFormat(DataMapperFormat newOutputFormat)
Sets the output format attribute format. |
Methods inherited from class com.ibm.dse.base.DSEHandler |
handleEvent,
handleEvent,
stopHandlingEvent,
stopHandlingEvent |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected java.lang.String finalPage
Constructor Detail |
public DSEHtmlState()
Method Detail |
public void activate() throws DSEInvalidArgumentException, DSEProcessorException
protected void changeProcessorState(DSEEventObject event) throws DSEProcessorException
event
- com.ibm.dse.base.DSEEventObjectprotected void doEntryActions(Vector otherTrigs) throws DSEInvalidArgumentException, DSEProcessorException
otherTrigs
- com.ibm.dse.base.Vectorprotected boolean executeActions(TransitionDescriptor transition, DSEEventObject sourceEvent, Vector otherTrigs) throws DSEException
transition
- com.ibm.dse.automaton.TransitionDescriptorsourceEvent
- com.ibm.dse.base.DSEEventObjectotherTrigs
- com.ibm.dse.base.Vectorprotected boolean executeActions(Vector actionTags, DSEEventObject sourceEvent, Vector otherTrigs, boolean ignoreFlag, java.lang.String transitionName) throws DSEException
actionTags
- com.ibm.dse.base.VectorsourceEvent
- com.ibm.dse.base.DSEEventObjectotherTrigs
- com.ibm.dse.base.VectorignoreFlag
- booleantransitionName
- java.lang.Stringprotected void fireDSEChangeStateEvent(java.lang.String targetStateName, boolean ignoreEntryActionsFlag) throws DSEProcessorException
targetStateName
- java.lang.StringignoreEntryActionsFlag
- booleanprotected void fireDSEChangeStateEvent(java.lang.String targetStateName, boolean ignoreEntryActionsFlag, java.lang.String transitionName) throws DSEProcessorException
targetStateName
- java.lang.StringignoreEntryActionsFlag
- booleantransitionName
- java.lang.Stringprotected void fireDSEChangeStateEvent(java.lang.String targetStateName, boolean ignoreEntryActionsFlag, boolean ignoreExitActionsFlag, java.lang.String transitionName) throws DSEProcessorException
targetStateName
- java.lang.StringignoreEntryActionsFlag
- booleanignoreExitActionsFlag
- booleantransitionName
- java.lang.Stringpublic java.lang.String getConsequentiality()
protected DataMapperFormat getDataMapFormat(Tag formatName) throws DSEException
formatName
- com.ibm.dse.base.Tagpublic java.lang.String getFinalPage()
public DataMapperFormat getInputFormat()
public DataMapperFormat getOutputFormat()
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException, DSEException
aTag
- com.ibm.dse.base.Tagpublic boolean isIgnoreReturnType()
protected void processEventQueue(Vector otherTrigs) throws DSEInvalidArgumentException, DSEProcessorException
otherTrigs
- com.ibm.dse.base.Vectorpublic void setConsequentiality(java.lang.String newConsequentiality)
newConsequentiality
- java.lang.Stringpublic void setFinalPage(java.lang.String newFinalPage)
newFinalPage
- java.lang.Stringpublic void setIgnoreReturnType(boolean newIgnoreReturnType)
newIgnoreReturnType
- booleanpublic void setInputFormat(DataMapperFormat newInputFormat)
newInputFormat
- com.ibm.dse.base.DataMapperFormatpublic void setOutputFormat(DataMapperFormat newOutputFormat)
newOutputFormat
- com.ibm.dse.base.DataMapperFormat
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |