org.androidannotations.handler
Class ViewByIdHandler

java.lang.Object
  extended by org.androidannotations.handler.BaseAnnotationHandler<EComponentWithViewSupportHolder>
      extended by org.androidannotations.handler.ViewByIdHandler
All Implemented Interfaces:
AnnotationHandler<EComponentWithViewSupportHolder>

public class ViewByIdHandler
extends BaseAnnotationHandler<EComponentWithViewSupportHolder>


Field Summary
 
Fields inherited from class org.androidannotations.handler.BaseAnnotationHandler
androidManifest, androidSystemServices, processHolder, processingEnv, rClass, validatedModel, validatorHelper
 
Constructor Summary
ViewByIdHandler(ProcessingEnvironment processingEnvironment)
           
 
Method Summary
 void process(Element element, EComponentWithViewSupportHolder holder)
           
 void setAndroidEnvironment(IRClass rClass, AndroidSystemServices androidSystemServices, AndroidManifest androidManifest)
           
 void validate(Element element, AnnotationElements validatedElements, IsValid valid)
           
 
Methods inherited from class org.androidannotations.handler.BaseAnnotationHandler
classes, codeModel, generateApiClass, getTarget, processingEnvironment, refClass, refClass, setProcessHolder, setValidatedModel, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewByIdHandler

public ViewByIdHandler(ProcessingEnvironment processingEnvironment)
Method Detail

setAndroidEnvironment

public void setAndroidEnvironment(IRClass rClass,
                                  AndroidSystemServices androidSystemServices,
                                  AndroidManifest androidManifest)
Specified by:
setAndroidEnvironment in interface AnnotationHandler<EComponentWithViewSupportHolder>
Overrides:
setAndroidEnvironment in class BaseAnnotationHandler<EComponentWithViewSupportHolder>

validate

public void validate(Element element,
                     AnnotationElements validatedElements,
                     IsValid valid)
Specified by:
validate in class BaseAnnotationHandler<EComponentWithViewSupportHolder>

process

public void process(Element element,
                    EComponentWithViewSupportHolder holder)


Copyright © 2010-2014. All Rights Reserved.