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

Object
  extended by AnnotationGrammar
      extended by BaseFlowControllerGrammar
          extended by MessageResourcesGrammar

public class MessageResourcesGrammar
extends BaseFlowControllerGrammar


Constructor Summary
MessageResourcesGrammar(AnnotationProcessorEnvironment env, Diagnostics diags, String requiredRuntimeVersion, RuntimeVersionChecker runtimeVersionChecker, FlowControllerInfo fcInfo)
           
 
Method Summary
 String[][] getAttrDependencies()
          Each entry in this array (a String[]) is an array whose first element is an attribute that requires at least one of the subsequent elements to exist as an attribute.
 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  Object onEndCheck(AnnotationMirror annotation, AnnotationMirror[] parentAnnotations, MemberDeclaration classMember, Map checkResults)
           
 
Methods inherited from class BaseFlowControllerGrammar
getFlowControllerInfo
 
Methods inherited from class AnnotationGrammar
addError, addError, addError, addMemberArrayGrammar, addMemberGrammar, addMemberType, addWarning, addWarning, addWarning, beginCheck, check, endCheck, getDiagnostics, getEnv, getRequiredRuntimeVersion, getRuntimeVersionChecker, onBeginCheck, onCheckMember
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageResourcesGrammar

public MessageResourcesGrammar(AnnotationProcessorEnvironment env,
                               Diagnostics diags,
                               String requiredRuntimeVersion,
                               RuntimeVersionChecker runtimeVersionChecker,
                               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

getAttrDependencies

public String[][] getAttrDependencies()
Description copied from class: AnnotationGrammar
Each entry in this array (a String[]) is an array whose first element is an attribute that requires at least one of the subsequent elements to exist as an attribute.

Overrides:
getAttrDependencies in class AnnotationGrammar

onEndCheck

protected Object onEndCheck(AnnotationMirror annotation,
                            AnnotationMirror[] parentAnnotations,
                            MemberDeclaration classMember,
                            Map checkResults)
Overrides:
onEndCheck in class AnnotationGrammar
checkResults - map of member-name (String) -> result-from-checking (Object)
Returns:
a result (any Object) that will be passed back to the parent checker. May be null.