|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.fe.statemachine.ext.apploaders.sax.Application
This class Application is an implementation of IApplication that is used by the xmlapploader.
Constructor Summary | |
Application(org.xml.sax.Attributes atts)
|
Method Summary | |
void |
addState(State state)
This method adds a state to the application. |
java.util.Vector |
getChildrenOfState(java.lang.String parentName)
This method returns a Enumeration of State objects that are children of the state with the given name, will return null if the parent state can not be located. |
java.lang.String |
getName()
This method returns the name of this application. |
IState |
getRootState()
This method returns the root state of this application. |
IState |
getStartState()
This method returns the start state for the application. |
IState |
getState(java.lang.String name)
This method returns the state for the given name. |
java.util.Vector |
getStates()
This method returns all the states for this application. |
void |
setRootStateName(java.lang.String rootStateName)
This method sets the name of the root state for this application |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Application(org.xml.sax.Attributes atts)
atts
- Method Detail |
public void addState(State state)
state
- public java.util.Vector getChildrenOfState(java.lang.String parentName)
parentName
-
public java.lang.String getName()
getName
in interface IApplication
public IState getRootState()
getRootState
in interface IApplication
public IState getStartState()
getStartState
in interface IApplication
public IState getState(java.lang.String name)
getState
in interface IApplication
name
- the id of the required state.
public void setRootStateName(java.lang.String rootStateName)
rootStateName
- public java.util.Vector getStates()
IApplication
getStates
in interface IApplication
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |