org.apache.beehive.netui.compiler.grammar
Class ActionGrammar

Object
  extended by AnnotationGrammar
      extended by BaseFlowControllerGrammar
          extended by ActionGrammar
Direct Known Subclasses:
SimpleActionGrammar

public class ActionGrammar
extends BaseFlowControllerGrammar


Constructor Summary
ActionGrammar(AnnotationProcessorEnvironment env, Diagnostics diags, RuntimeVersionChecker rvc, FlowControllerInfo fcInfo)
           
 
Method Summary
protected  String getActionName(AnnotationMirror annotation, MemberDeclaration classMember)
           
protected  TypeMirror getFormBeanType(AnnotationMirror annotation, MemberDeclaration classMember)
           
 String[][] getMutuallyExclusiveAttrs()
          Each entry in this array (a String[]) lists mutually exclusive attributes.
 String[][] getRequiredAttrs()
          Each entry in this array (a String[]) lists attributes of which one must exist in this tag.
protected  TypeMirror getUseFormBeanType(AnnotationMirror annotation, MemberDeclaration classMember)
           
protected  boolean onBeginCheck(AnnotationMirror annotation, AnnotationMirror[] parentAnnotations, MemberDeclaration classMember)
           
 
Methods inherited from class AnnotationGrammar
addError, addError, addError, addMemberArrayGrammar, addMemberGrammar, addMemberType, addWarning, addWarning, addWarning, beginCheck, check, check, endCheck, getAttrDependencies, getDiagnostics, getEnv, getRequiredRuntimeVersion, getRuntimeVersionChecker, onCheckMember, onEndCheck
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionGrammar

public ActionGrammar(AnnotationProcessorEnvironment env,
                     Diagnostics diags,
                     RuntimeVersionChecker rvc,
                     FlowControllerInfo fcInfo)
Method Detail

getMutuallyExclusiveAttrs

public String[][] getMutuallyExclusiveAttrs()
Description copied from class: AnnotationGrammar
Each entry in this array (a String[]) lists mutually exclusive attributes.

Overrides:
getMutuallyExclusiveAttrs in class AnnotationGrammar

getRequiredAttrs

public String[][] getRequiredAttrs()
Description copied from class: AnnotationGrammar
Each entry in this array (a String[]) lists attributes of which one must exist in this tag.

Overrides:
getRequiredAttrs in class AnnotationGrammar

onBeginCheck

protected boolean onBeginCheck(AnnotationMirror annotation,
                               AnnotationMirror[] parentAnnotations,
                               MemberDeclaration classMember)
Overrides:
onBeginCheck in class AnnotationGrammar

getActionName

protected String getActionName(AnnotationMirror annotation,
                               MemberDeclaration classMember)

getUseFormBeanType

protected TypeMirror getUseFormBeanType(AnnotationMirror annotation,
                                        MemberDeclaration classMember)

getFormBeanType

protected TypeMirror getFormBeanType(AnnotationMirror annotation,
                                     MemberDeclaration classMember)