|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.richfaces.cdk.apt.processors.AttributesProcessorImpl
public class AttributesProcessorImpl
| Constructor Summary | |
|---|---|
AttributesProcessorImpl(DescriptionProcessor descriptionProcessor,
com.google.inject.Provider<SourceUtils> utilsProvider,
FragmentParser parser)
|
|
| Method Summary | |
|---|---|
protected void |
processAttribute(SourceUtils.BeanProperty beanProperty,
PropertyBase attribute)
|
void |
processType(BeanModelBase component,
javax.lang.model.element.TypeElement element)
Process all bean properties associated with type element. |
void |
processXmlFragment(BeanModelBase component,
java.lang.String... attributesConfig)
Process attributes defined by the faces-config fragment. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject
public AttributesProcessorImpl(DescriptionProcessor descriptionProcessor,
com.google.inject.Provider<SourceUtils> utilsProvider,
FragmentParser parser)
descriptionProcessor - utilsProvider - parser - | Method Detail |
|---|
protected void processAttribute(SourceUtils.BeanProperty beanProperty,
PropertyBase attribute)
public void processType(BeanModelBase component,
javax.lang.model.element.TypeElement element)
throws CdkException
AttributesProcessor
Process all bean properties associated with type element. Recursively visit all supertypes and interfaces. For
each type, tries to read xml fragment with same name as class or interface with ".xml" suffix, then collect all
bean properties marked by the Attribute annotation
processType in interface AttributesProcessorCdkException
public void processXmlFragment(BeanModelBase component,
java.lang.String... attributesConfig)
AttributesProcessorProcess attributes defined by the faces-config fragment.
processXmlFragment in interface AttributesProcessorattributesConfig - relative URL to the fragment file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||