org.richfaces.cdk.apt.processors
Class AttributesProcessorImpl
java.lang.Object
org.richfaces.cdk.apt.processors.AttributesProcessorImpl
- All Implemented Interfaces:
- AttributesProcessor
public class AttributesProcessorImpl
- extends java.lang.Object
- implements AttributesProcessor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributesProcessorImpl
@Inject
public AttributesProcessorImpl(DescriptionProcessor descriptionProcessor,
com.google.inject.Provider<SourceUtils> utilsProvider,
FragmentParser parser)
-
- Parameters:
descriptionProcessor - utilsProvider - parser -
processAttribute
protected void processAttribute(SourceUtils.BeanProperty beanProperty,
PropertyBase attribute)
processType
public void processType(BeanModelBase component,
javax.lang.model.element.TypeElement element)
throws CdkException
- Description copied from interface:
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
- Specified by:
processType in interface AttributesProcessor
- Throws:
CdkException
processXmlFragment
public void processXmlFragment(BeanModelBase component,
java.lang.String... attributesConfig)
- Description copied from interface:
AttributesProcessor
Process attributes defined by the faces-config fragment.
- Specified by:
processXmlFragment in interface AttributesProcessor
attributesConfig - relative URL to the fragment file.
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.