Class ViewProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.codename1.rad.annotations.processors.BaseProcessor
com.codename1.rad.annotations.processors.ViewProcessor
- All Implemented Interfaces:
Processor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic enumclassclassEncapsulates the Java environment for the View class.classstatic classstatic class -
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Method Summary
Modifier and TypeMethodDescriptionSet<? extends TypeElement>defer(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) expandRADModelVars(ViewProcessor.JavaEnvironment jenv, String selector, boolean stringMode) Parses a string with ${...} variables and.booleanbooleanbooleanbooleanisNode(TypeElement el) booleanisStringListModel(TypeElement typeEl, VariableElement typeVar) booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class com.codename1.rad.annotations.processors.BaseProcessor
elements, env, typesMethods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized
-
Method Details
-
isEntityView
-
isComponent
-
isContainer
-
isNode
-
defer
public Set<? extends TypeElement> defer(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) -
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
expandRADModelVars
public String expandRADModelVars(ViewProcessor.JavaEnvironment jenv, String selector, boolean stringMode) Parses a string with ${...} variables and.- Parameters:
jenv- The environment.selector- THe string value containing variables to parse.stringMode- Whether this is a string literal and should interpolate variables in string.- Returns:
- The parsed string
-
isStringListModel
-