org.apache.beehive.netui.compiler.genmodel
Class GenSharedFlowStrutsApp

Object
  extended by StrutsElementSupport
      extended by StrutsApp
          extended by GenStrutsApp
              extended by GenSharedFlowStrutsApp
All Implemented Interfaces:
ExceptionContainer, ForwardContainer

public class GenSharedFlowStrutsApp
extends GenStrutsApp


Nested Class Summary
 
Nested classes/interfaces inherited from class StrutsApp
StrutsApp.ActionMappingComparator
 
Field Summary
 
Fields inherited from class StrutsApp
DUPLICATE_ACTION_COMMENT, NETUI_VALIDATOR_RULES_URI, PAGEFLOW_CONTROLLER_CONFIG_CLASSNAME, PAGEFLOW_REQUESTPROCESSOR_CLASSNAME, STRUTS_CONFIG_EXTENSION, STRUTS_CONFIG_PREFIX, STRUTS_CONFIG_SEPARATOR, STRUTS_VALIDATOR_RULES_URI, STRUTSCONFIG_OUTPUT_DIR, TILES_DEFINITIONS_CONFIG_PROPERTY, TILES_MODULE_AWARE_PROPERTY, TILES_PLUG_IN_CLASSNAME, VALIDATOR_PATHNAMES_PROPERTY, VALIDATOR_PLUG_IN_CLASSNAME, WEBINF_DIR_NAME
 
Constructor Summary
GenSharedFlowStrutsApp(File sourceFile, ClassDeclaration jclass, AnnotationProcessorEnvironment env, FlowControllerInfo fcInfo, boolean checkOnly)
           
 
Method Summary
 void addForward(ForwardModel newActionForward)
          Implemented for ForwardContainer.
 void deleteForward(ForwardModel forward)
           
 ForwardModel findForward(String forwardName)
           
 ForwardModel[] getForwards()
           
 List getForwardsAsList()
           
protected  boolean isModuleDeclaredInWebXml()
           
 void writeForwards(ForwardDocument.Forward[] existingForwards, XmlObject xmlForwardContainer)
           
 
Methods inherited from class GenStrutsApp
canWrite, getContainingPackage, getHeaderComment, getMergeFile, getMergeFileName, getStrutsConfigFile, getWebappRoot, isStale, isStale, recalculateStrutsConfigFile, writeToFile, writeToFile
 
Methods inherited from class StrutsApp
addActionMapping, addException, addFormBean, addMessageResources, addNewForward, addSetProperty, deleteFormBean, getBeanType, getDefaultMessageResources, getExceptionCatchesList, getFormBean, getFormBeanByActualType, getFormBeans, getFormBeansAsList, getFormBeansMap, getFormNameForType, getFormQualifiedActionPath, getMessageResourcesList, getMultipartHandlerClassName, getOutputFileURI, getSortedActionMappings, getStrutsConfigURI, getWebappRootFromJpf, isReturnToActionDisabled, isReturnToPageDisabled, isSharedFlow, makeFullyQualifiedBeanName, setAdditionalValidatorConfigs, setLongLivedPageFlow, setMultipartHandlerClassName, setNestedPageFlow, setReturnToActionDisabled, setReturnToPageDisabled, setSharedFlow, setSharedFlows, setTilesDefinitionsConfigs, setValidationModel, writeControllerElement, writeTilesInit, writeValidatorInit, writeXml
 
Methods inherited from class StrutsElementSupport
addComment, getAttr, getAttrBool, getClassName, getComment, getDescription, getDisplayName, getIcon, getParentApp, getProperty, setClassName, setComment, setDescription, setDisplayName, setIcon, setParentApp, setProperty
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ForwardContainer
addForward, findForward
 

Constructor Detail

GenSharedFlowStrutsApp

public GenSharedFlowStrutsApp(File sourceFile,
                              ClassDeclaration jclass,
                              AnnotationProcessorEnvironment env,
                              FlowControllerInfo fcInfo,
                              boolean checkOnly)
                       throws NoWebInfDirectoryException,
                              XmlException,
                              IOException
Throws:
NoWebInfDirectoryException
XmlException
IOException
Method Detail

isModuleDeclaredInWebXml

protected boolean isModuleDeclaredInWebXml()
Overrides:
isModuleDeclaredInWebXml in class GenStrutsApp

addForward

public void addForward(ForwardModel newActionForward)
Implemented for ForwardContainer.

Specified by:
addForward in interface ForwardContainer

findForward

public ForwardModel findForward(String forwardName)
Specified by:
findForward in interface ForwardContainer

writeForwards

public void writeForwards(ForwardDocument.Forward[] existingForwards,
                          XmlObject xmlForwardContainer)

getForwards

public ForwardModel[] getForwards()

getForwardsAsList

public List getForwardsAsList()

deleteForward

public void deleteForward(ForwardModel forward)