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

Object
  extended by AnnotationGrammar
      extended by ValidationMessageArgsGrammar

public class ValidationMessageArgsGrammar
extends AnnotationGrammar


Constructor Summary
ValidationMessageArgsGrammar(AnnotationProcessorEnvironment env, Diagnostics diags, RuntimeVersionChecker rvc)
           
 
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 AnnotationGrammar
addError, addError, addError, addMemberArrayGrammar, addMemberGrammar, addMemberType, addWarning, addWarning, addWarning, beginCheck, check, 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

ValidationMessageArgsGrammar

public ValidationMessageArgsGrammar(AnnotationProcessorEnvironment env,
                                    Diagnostics diags,
                                    RuntimeVersionChecker rvc)
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.