RichFaces CDK Generator 4.2.0.CR1

org.richfaces.cdk.apt
Class CdkProcessorImpl

java.lang.Object
  extended by javax.annotation.processing.AbstractProcessor
      extended by org.richfaces.cdk.apt.CdkProcessorImpl
All Implemented Interfaces:
Processor, CdkProcessor

public class CdkProcessorImpl
extends AbstractProcessor
implements CdkProcessor

Base class for all CDK Annotation processors. That class provides access to current CDK context and utility methods for Java source models.

Author:
asmirnov@exadel.com

Field Summary
 
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
 
Constructor Summary
CdkProcessorImpl()
           
 
Method Summary
 Set<String> getSupportedAnnotationTypes()
           
 SourceVersion getSupportedSourceVersion()
           
 void init(ProcessingEnvironment processingEnv)
           
 boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
           
protected  void processAnnotation(CdkAnnotationProcessor processor, RoundEnvironment environment)
           
 void processNonJavaSources()
           
protected  void sendError(CdkException e)
           
protected  void sendError(Element componentElement, Exception e)
           
 
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedOptions, isInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.annotation.processing.Processor
getCompletions, getSupportedOptions
 

Constructor Detail

CdkProcessorImpl

public CdkProcessorImpl()
Method Detail

init

public void init(ProcessingEnvironment processingEnv)
Specified by:
init in interface Processor
Overrides:
init in class AbstractProcessor

process

public boolean process(Set<? extends TypeElement> annotations,
                       RoundEnvironment roundEnv)
Specified by:
process in interface Processor
Specified by:
process in class AbstractProcessor

processNonJavaSources

public void processNonJavaSources()
Specified by:
processNonJavaSources in interface CdkProcessor

processAnnotation

protected void processAnnotation(CdkAnnotationProcessor processor,
                                 RoundEnvironment environment)

sendError

protected void sendError(Element componentElement,
                         Exception e)

sendError

protected void sendError(CdkException e)

getSupportedAnnotationTypes

public Set<String> getSupportedAnnotationTypes()
Specified by:
getSupportedAnnotationTypes in interface Processor
Overrides:
getSupportedAnnotationTypes in class AbstractProcessor

getSupportedSourceVersion

public SourceVersion getSupportedSourceVersion()
Specified by:
getSupportedSourceVersion in interface Processor
Overrides:
getSupportedSourceVersion in class AbstractProcessor

RichFaces CDK Generator 4.2.0.CR1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.