org.richfaces.cdk.apt.processors
Class RendererProcessor

java.lang.Object
  extended by org.richfaces.cdk.apt.processors.ProcessorBase
      extended by org.richfaces.cdk.apt.processors.RendererProcessor
All Implemented Interfaces:
CdkAnnotationProcessor

@SupportedAnnotationTypes(value={"javax.faces.component.FacesComponent","org.richfaces.cdk.annotations.JsfRenderer"})
public class RendererProcessor
extends ProcessorBase
implements CdkAnnotationProcessor

Since:
Dec 30, 2009
Author:
akolonitsky

Constructor Summary
RendererProcessor()
           
 
Method Summary
protected  java.lang.String[] getAnnotationAttributes(javax.lang.model.element.TypeElement componentElement)
           
protected  java.lang.String getComponentType(javax.lang.model.element.TypeElement componentElement)
           
 java.lang.Class<? extends java.lang.annotation.Annotation> getProcessedAnnotation()
           
 void process(javax.lang.model.element.Element rendererElement, ComponentLibrary library)
          

 RendererModel process(javax.lang.model.element.TypeElement rendererElement, org.richfaces.cdk.annotations.JsfRenderer annotation, ComponentLibrary library)
           
protected  void setClassNames(javax.lang.model.element.TypeElement componentElement, RendererModel modelElement, java.lang.String generatedClass)
           
 
Methods inherited from class org.richfaces.cdk.apt.processors.ProcessorBase
getAttributeProcessor, getDocComment, getNamingConventions, getSourceUtils, processTag, setClassNames, setDescription, setNamingConventions, setTagInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RendererProcessor

public RendererProcessor()
Method Detail

process

public void process(javax.lang.model.element.Element rendererElement,
                    ComponentLibrary library)
Description copied from interface: CdkAnnotationProcessor

Specified by:
process in interface CdkAnnotationProcessor
library - TODO

process

public RendererModel process(javax.lang.model.element.TypeElement rendererElement,
                             org.richfaces.cdk.annotations.JsfRenderer annotation,
                             ComponentLibrary library)

setClassNames

protected void setClassNames(javax.lang.model.element.TypeElement componentElement,
                             RendererModel modelElement,
                             java.lang.String generatedClass)

getComponentType

protected java.lang.String getComponentType(javax.lang.model.element.TypeElement componentElement)

getProcessedAnnotation

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

getAnnotationAttributes

protected java.lang.String[] getAnnotationAttributes(javax.lang.model.element.TypeElement componentElement)


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.