|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.matthias_burbach.flux.AbstractActionMappingGenerator
de.matthias_burbach.flux.PageActionMappingGenerator
Generates one action mapping for each UML state with stereotype 'Page' that forwards from the logical page name to the physical (JSP) name.
Field Summary |
Fields inherited from class de.matthias_burbach.flux.AbstractActionMappingGenerator |
settings |
Constructor Summary | |
PageActionMappingGenerator()
|
Method Summary | |
void |
begin(StateMachine stateMachine,
org.jdom.Document oldDocument,
org.jdom.Element oldActionMappingsElement,
org.jdom.Document newDocument,
org.jdom.Element newActionMappingsElement)
Introduces the <action> elements generated by this generator with the comment <--Page States-->. |
void |
generate(StateMachine stateMachine,
State state,
org.jdom.Document oldDocument,
org.jdom.Element oldActionMappingsElement,
org.jdom.Document newDocument,
org.jdom.Element newActionMappingsElement)
Generates one <action> element per call. |
protected void |
generatePageActionMapping(StateMachine stateMachine,
State state,
org.jdom.Document oldDocument,
org.jdom.Element oldActionMappingsElement,
org.jdom.Document newDocument,
org.jdom.Element newActionMappingsElement)
Generates one <action> element per call. |
protected boolean |
generatePagePreprocessings()
|
protected void |
generatePageVariationActionMapping(StateMachine stateMachine,
State state,
org.jdom.Document oldDocument,
org.jdom.Element oldActionMappingsElement,
org.jdom.Document newDocument,
org.jdom.Element newActionMappingsElement)
Generates an <action> element that routes from the actual logical page and the current value of the mode variable to the modified logical page that is created as the concatenation of the mode value and the actual logical page name. |
protected java.lang.String |
getBasePathExtension(State state)
The base path extension may suffix the base path to make a full path of an <action> or <forward> element. |
protected java.lang.String |
getForwardToPhysicalPage(State state)
Derives the default forward path to the physical page resource (JSP) that implements the state of stereotype 'Page'. |
Methods inherited from class de.matthias_burbach.flux.AbstractActionMappingGenerator |
end, generateForward, generateForward, generateForwards, generateProperty, getActionMappingElementForPath, getBasePath, getDefaultName, getDefaultPackage, getDefaultType, getForwardElementForName, getForwardPath, getForwardPathPrefix, getForwardPathSuffix, getNamePartOfBasePath, setSettings |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PageActionMappingGenerator()
Method Detail |
public void begin(StateMachine stateMachine, org.jdom.Document oldDocument, org.jdom.Element oldActionMappingsElement, org.jdom.Document newDocument, org.jdom.Element newActionMappingsElement) throws java.lang.Exception
begin
in interface ActionMappingGenerator
begin
in class AbstractActionMappingGenerator
java.lang.Exception
public void generate(StateMachine stateMachine, State state, org.jdom.Document oldDocument, org.jdom.Element oldActionMappingsElement, org.jdom.Document newDocument, org.jdom.Element newActionMappingsElement) throws java.lang.Exception
generate
in interface ActionMappingGenerator
generate
in class AbstractActionMappingGenerator
java.lang.Exception
protected void generatePageVariationActionMapping(StateMachine stateMachine, State state, org.jdom.Document oldDocument, org.jdom.Element oldActionMappingsElement, org.jdom.Document newDocument, org.jdom.Element newActionMappingsElement) throws java.lang.Exception
java.lang.Exception
protected void generatePageActionMapping(StateMachine stateMachine, State state, org.jdom.Document oldDocument, org.jdom.Element oldActionMappingsElement, org.jdom.Document newDocument, org.jdom.Element newActionMappingsElement) throws java.lang.Exception
java.lang.Exception
protected java.lang.String getForwardToPhysicalPage(State state)
state
of stereotype 'Page'.
state
- the state to derive the physical forward path from
protected java.lang.String getBasePathExtension(State state)
AbstractActionMappingGenerator
getBasePathExtension
in class AbstractActionMappingGenerator
state
- the state the extension is to be derived from
protected boolean generatePagePreprocessings()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |