org.ajax4jsf.builder.component
Class ComponentPropertyProcessor

java.lang.Object
  extended by org.ajax4jsf.builder.component.ComponentPropertyProcessor
All Implemented Interfaces:
PropertyProcessor
Direct Known Subclasses:
ActionSource2PropertyProcessor, ELPropertyProcessor, ExpressionPropertyProcessor, PrimitivePropertyProcessor

public class ComponentPropertyProcessor
extends java.lang.Object
implements PropertyProcessor

Default property handler - a fallback one.

Author:
Maksim Kaszynski

Constructor Summary
ComponentPropertyProcessor()
           
 
Method Summary
 boolean accept(PropertyBean propertyBean, JavaClass javaClass, JSFGeneratorConfiguration configuration)
           
protected  JavaMethod getAccessor(JSFGeneratorConfiguration configuration, PropertyBean propertyBean, JavaField field)
           
protected  JavaField getField(PropertyBean propertyBean, JSFGeneratorConfiguration configuration)
           
protected  JavaMethod getMutator(JSFGeneratorConfiguration configuration, PropertyBean propertyBean, JavaField field)
           
protected  java.lang.Class<?> getType(PropertyBean propertyBean, java.lang.ClassLoader classLoader)
           
protected  void handleDeprecation(java.lang.Class<?> type, JavaLanguageElement element)
           
 void process(PropertyBean propertyBean, JavaClass javaClass, JSFGeneratorConfiguration configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentPropertyProcessor

public ComponentPropertyProcessor()
Method Detail

accept

public boolean accept(PropertyBean propertyBean,
                      JavaClass javaClass,
                      JSFGeneratorConfiguration configuration)
Specified by:
accept in interface PropertyProcessor

process

public void process(PropertyBean propertyBean,
                    JavaClass javaClass,
                    JSFGeneratorConfiguration configuration)
Specified by:
process in interface PropertyProcessor

getField

protected JavaField getField(PropertyBean propertyBean,
                             JSFGeneratorConfiguration configuration)

getType

protected java.lang.Class<?> getType(PropertyBean propertyBean,
                                     java.lang.ClassLoader classLoader)

getAccessor

protected JavaMethod getAccessor(JSFGeneratorConfiguration configuration,
                                 PropertyBean propertyBean,
                                 JavaField field)

getMutator

protected JavaMethod getMutator(JSFGeneratorConfiguration configuration,
                                PropertyBean propertyBean,
                                JavaField field)

handleDeprecation

protected void handleDeprecation(java.lang.Class<?> type,
                                 JavaLanguageElement element)


Copyright © 2009. All Rights Reserved.