| 
JSF-Spring | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mindmatters.faces.spring.factory.aspectj.JsfBeanDefinitionParserUtils
public final class JsfBeanDefinitionParserUtils
Miscellaneous parser utility methods for the 'jsh'
 namespace. Mainly for internal use within the framework.
| Nested Class Summary | |
|---|---|
static interface | 
JsfBeanDefinitionParserUtils.UIComponentExtension
Interface that will be implemented by the UIComponent subclasses generated by the SubclassCreator.  | 
| Field Summary | |
|---|---|
static java.lang.String | 
CLASS_ATTRIBUTE
The ' class' attribute of a bean definition. | 
static java.lang.String | 
COMPONENT_TYPE_ATTRIBUTE
The ' component-type' attribute of a
 Renderer definition. | 
static java.lang.String | 
FOR_CLASS_ATTRIBUTE
The ' for-class' attribute of a
 Converter definition. | 
static java.lang.String | 
ID_ATTRIBUTE
The ' id' attribute of a bean definition. | 
static java.lang.String | 
NAME_ATTRIBUTE
The ' name' attribute of a bean definition. | 
static java.lang.String | 
TYPE_ATTRIBUTE
The ' type' attribute of a UIComponent
 definition. | 
| Method Summary | |
|---|---|
static java.lang.Class | 
createComponentClass(java.lang.String originalClassName,
                     java.lang.Class targetSuperClass,
                     ParserContext parserContext)
Generates a subclass of the given ui component class name originalClassName with a special naming policy via CGLib. | 
static java.lang.Class | 
createExtendedUIComponentClass(java.lang.String originalClassName,
                               ParserContext parserContext)
Generates a subclass of the given UIComponent class with name
 originalClassName which implements the interface
 JsfBeanDefinitionParserUtils.UIComponentExtension. | 
static java.lang.Class | 
resolveBeanClass(org.w3c.dom.Element element,
                 AbstractBeanDefinition bd,
                 ParserContext parserContext)
Determine the class of the wrapped bean of the given AbstractBeanDefinition bd, if the bean definition
 has a bean class. | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String ID_ATTRIBUTE
id' attribute of a bean definition.
public static final java.lang.String FOR_CLASS_ATTRIBUTE
for-class' attribute of a
 Converter definition.
public static final java.lang.String CLASS_ATTRIBUTE
class' attribute of a bean definition.
public static final java.lang.String NAME_ATTRIBUTE
name' attribute of a bean definition.
public static final java.lang.String TYPE_ATTRIBUTE
type' attribute of a UIComponent
 definition.
public static final java.lang.String COMPONENT_TYPE_ATTRIBUTE
component-type' attribute of a
 Renderer definition.
| Method Detail | 
|---|
public static java.lang.Class createComponentClass(java.lang.String originalClassName,
                                                   java.lang.Class targetSuperClass,
                                                   ParserContext parserContext)
originalClassName with a special naming policy via CGLib.
 Valid component types are Validator,
 UIComponent and Converter.
originalClassName - the original class name of the componenttargetSuperClass - UIComponent.class, Converter.class or Validator.classparserContext - the ParserContext
public static java.lang.Class createExtendedUIComponentClass(java.lang.String originalClassName,
                                                             ParserContext parserContext)
UIComponent class with name
 originalClassName which implements the interface
 JsfBeanDefinitionParserUtils.UIComponentExtension.
originalClassName - th class name of the componentparserContext - the ParserContext
public static java.lang.Class resolveBeanClass(org.w3c.dom.Element element,
                                               AbstractBeanDefinition bd,
                                               ParserContext parserContext)
AbstractBeanDefinition bd, if the bean definition
 has a bean class.
element - the Element representing the bean definitionbd - the bean definitionparserContext - the ParserContext
null if the bean
         defintion has no bean class.
  | 
JSF-Spring | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||