com.googlecode.androidannotations.validation
Class ItemClickValidator

java.lang.Object
  extended by com.googlecode.androidannotations.validation.ItemClickValidator
All Implemented Interfaces:
HasTarget, ElementValidator

public class ItemClickValidator
extends java.lang.Object
implements ElementValidator

Author:
Benjamin Fellous, Pierre-Yves Ricau

Constructor Summary
ItemClickValidator(javax.annotation.processing.ProcessingEnvironment processingEnv, IRClass rClass)
           
 
Method Summary
 java.lang.Class<? extends java.lang.annotation.Annotation> getTarget()
           
 boolean validate(javax.lang.model.element.Element element, AnnotationElements validatedElements)
          Method used to filter validated elements from annotated elements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemClickValidator

public ItemClickValidator(javax.annotation.processing.ProcessingEnvironment processingEnv,
                          IRClass rClass)
Method Detail

getTarget

public java.lang.Class<? extends java.lang.annotation.Annotation> getTarget()
Specified by:
getTarget in interface HasTarget

validate

public boolean validate(javax.lang.model.element.Element element,
                        AnnotationElements validatedElements)
Description copied from interface: ElementValidator
Method used to filter validated elements from annotated elements

Specified by:
validate in interface ElementValidator
Parameters:
element - the element to validate
validatedElements - to already validated elements
Returns:
true if the element should be added to the validatedElements, false otherwise


Copyright © 2010-2012. All Rights Reserved.