com.googlecode.androidannotations.validation.rest
Class DeleteValidator

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

public class DeleteValidator
extends java.lang.Object
implements ElementValidator


Constructor Summary
DeleteValidator(javax.annotation.processing.ProcessingEnvironment processingEnv)
           
 
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

DeleteValidator

public DeleteValidator(javax.annotation.processing.ProcessingEnvironment processingEnv)
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.