org.richfaces.cdk.apt.processors
Class ProcessorBase
java.lang.Object
org.richfaces.cdk.apt.processors.ProcessorBase
- Direct Known Subclasses:
- BehaviorProcessor, BehaviorRendererProcessor, ComponentProcessor, ConverterProcessor, EventProcessor, FunctionProcessor, RendererProcessor, ValidatorProcessor
public abstract class ProcessorBase
- extends Object
|
Field Summary |
protected org.richfaces.cdk.Logger |
log
|
|
Method Summary |
protected String |
getAnnotationPropertyOrConstant(TypeElement element,
AnnotationMirror annotation,
String annotationAttribute,
String fieldName)
|
protected AttributesProcessor |
getAttributeProcessor()
|
protected String |
getDocComment(Element element)
|
NamingConventions |
getNamingConventions()
|
SourceUtils |
getSourceUtils()
|
protected void |
processAttributes(Element element,
ModelElementBase component,
AnnotationMirror annotation)
|
protected TagModel |
processTag(AnnotationMirror tag)
|
protected void |
setClassNames(TypeElement componentElement,
GeneratedFacesComponent modelElement,
AnnotationMirror behavior)
|
protected void |
setDescription(DescriptionGroup model,
AnnotationMirror annotation,
String docComment)
|
void |
setNamingConventions(NamingConventions namingConventions)
|
protected void |
setTagInfo(AnnotationMirror annotation,
ViewElement model)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
@Inject
protected org.richfaces.cdk.Logger log
ProcessorBase
public ProcessorBase()
getSourceUtils
public SourceUtils getSourceUtils()
setTagInfo
protected void setTagInfo(AnnotationMirror annotation,
ViewElement model)
processTag
protected TagModel processTag(AnnotationMirror tag)
setClassNames
protected void setClassNames(TypeElement componentElement,
GeneratedFacesComponent modelElement,
AnnotationMirror behavior)
getDocComment
protected String getDocComment(Element element)
getAttributeProcessor
protected AttributesProcessor getAttributeProcessor()
- Returns:
- the attributeProcessor
getNamingConventions
public NamingConventions getNamingConventions()
setNamingConventions
public void setNamingConventions(NamingConventions namingConventions)
setDescription
protected void setDescription(DescriptionGroup model,
AnnotationMirror annotation,
String docComment)
processAttributes
protected void processAttributes(Element element,
ModelElementBase component,
AnnotationMirror annotation)
getAnnotationPropertyOrConstant
protected String getAnnotationPropertyOrConstant(TypeElement element,
AnnotationMirror annotation,
String annotationAttribute,
String fieldName)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.