org.apache.beehive.netui.compiler
Class SharedFlowGenerator

Object
  extended by BaseGenerator
      extended by SharedFlowGenerator

public class SharedFlowGenerator
extends BaseGenerator


Constructor Summary
SharedFlowGenerator(AnnotationProcessorEnvironment env, FlowControllerInfo fcInfo, Diagnostics diags)
           
 
Method Summary
protected  GenStrutsApp createStrutsApp(ClassDeclaration jclass)
           
 void generate(ClassDeclaration publicClass)
           
protected  void generateStrutsConfig(GenStrutsApp app, ClassDeclaration publicClass)
           
protected  FlowControllerInfo getSourceFileInfo()
           
 
Methods inherited from class BaseGenerator
getDiagnostics, getEnv
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedFlowGenerator

public SharedFlowGenerator(AnnotationProcessorEnvironment env,
                           FlowControllerInfo fcInfo,
                           Diagnostics diags)
Method Detail

createStrutsApp

protected GenStrutsApp createStrutsApp(ClassDeclaration jclass)
                                throws XmlException,
                                       IOException,
                                       NoWebInfDirectoryException
Throws:
XmlException
IOException
NoWebInfDirectoryException

generate

public void generate(ClassDeclaration publicClass)
Specified by:
generate in class BaseGenerator

generateStrutsConfig

protected void generateStrutsConfig(GenStrutsApp app,
                                    ClassDeclaration publicClass)

getSourceFileInfo

protected FlowControllerInfo getSourceFileInfo()
Overrides:
getSourceFileInfo in class BaseGenerator