public class ViewProcessor extends BaseProcessor
| Modifier and Type | Class and Description |
|---|---|
class |
ViewProcessor.AttributeSanitizer |
static class |
ViewProcessor.ImageMask |
class |
ViewProcessor.ImageParameters |
class |
ViewProcessor.JavaEnvironment
Encapsulates the Java environment for the View class.
|
class |
ViewProcessor.MediaParameters |
static class |
ViewProcessor.Transition |
static class |
ViewProcessor.Transitions |
processingEnv| Modifier and Type | Method and Description |
|---|---|
Set<? extends TypeElement> |
defer(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
String |
expandRADModelVars(ViewProcessor.JavaEnvironment jenv,
String selector,
boolean stringMode)
Parses a string with ${...} variables and.
|
boolean |
isComponent(TypeElement el) |
boolean |
isContainer(TypeElement el) |
boolean |
isEntityView(TypeElement el) |
boolean |
isNode(TypeElement el) |
boolean |
isStringListModel(TypeElement typeEl,
VariableElement typeVar) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
elements, env, typesgetCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitializedpublic boolean isEntityView(TypeElement el)
public boolean isComponent(TypeElement el)
public boolean isContainer(TypeElement el)
public boolean isNode(TypeElement el)
public Set<? extends TypeElement> defer(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorpublic String expandRADModelVars(ViewProcessor.JavaEnvironment jenv, String selector, boolean stringMode)
jenv - The environment.selector - THe string value containing variables to parse.stringMode - Whether this is a string literal and should interpolate variables in string.public boolean isStringListModel(TypeElement typeEl, VariableElement typeVar)
Copyright © 2022. All Rights Reserved.