com.googlecode.androidannotations.validation.rest
Class OptionsValidator

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

public class OptionsValidator
extends Object
implements ElementValidator


Constructor Summary
OptionsValidator(ProcessingEnvironment processingEnv)
           
 
Method Summary
 Class<? extends Annotation> getTarget()
           
 boolean validate(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

OptionsValidator

public OptionsValidator(ProcessingEnvironment processingEnv)
Method Detail

getTarget

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

validate

public boolean validate(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-2013. All Rights Reserved.