JSF-Spring

de.mindmatters.faces.spring.factory.xml
Class JsfBeanDefinitionParserUtils

java.lang.Object
  extended by de.mindmatters.faces.spring.factory.xml.JsfBeanDefinitionParserUtils

public final class JsfBeanDefinitionParserUtils
extends java.lang.Object

Miscellaneous parser utility methods for the 'jsh' namespace. Mainly for internal use within the framework.

Author:
Andreas Kuhrwahl

Field Summary
static java.lang.String COMPONENT_FAMILY_ATTRIBUTE
          The 'component-family' attribute of a Renderer definition.
static java.lang.String ID_ATTRIBUTE
          The 'id' attribute of a BeanDefinition.
static java.lang.String LIFECYCLE_ID_ATTRIBUTE
          The 'lifecycle-id' attribute of a PhaseListener definition.
static java.lang.String ORDER_ATTRIBUTE
          The 'order' attribute of an OrderedRootBeanDefinition.
static java.lang.String RENDERER_ELEMENT
          The <renderer></renderer> element.
static java.lang.String RENDERER_TYPE_ATTRIBUTE
          The 'type' attribute of a Renderer definition.
 
Method Summary
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

ORDER_ATTRIBUTE

public static final java.lang.String ORDER_ATTRIBUTE
The 'order' attribute of an OrderedRootBeanDefinition.

See Also:
Constant Field Values

ID_ATTRIBUTE

public static final java.lang.String ID_ATTRIBUTE
The 'id' attribute of a BeanDefinition.

See Also:
Constant Field Values

RENDERER_ELEMENT

public static final java.lang.String RENDERER_ELEMENT
The <renderer></renderer> element.

See Also:
Constant Field Values

COMPONENT_FAMILY_ATTRIBUTE

public static final java.lang.String COMPONENT_FAMILY_ATTRIBUTE
The 'component-family' attribute of a Renderer definition.

See Also:
Constant Field Values

RENDERER_TYPE_ATTRIBUTE

public static final java.lang.String RENDERER_TYPE_ATTRIBUTE
The 'type' attribute of a Renderer definition.

See Also:
Constant Field Values

LIFECYCLE_ID_ATTRIBUTE

public static final java.lang.String LIFECYCLE_ID_ATTRIBUTE
The 'lifecycle-id' attribute of a PhaseListener definition.

See Also:
Constant Field Values
Method Detail

resolveBeanClass

public 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.

Parameters:
element - the Element representing the bean definition
bd - the bean definition
parserContext - the ParserContext
Returns:
the resolved bean class or null if the bean defintion has no bean class.

JSF-Spring

Copyright © 2006 mindmatters GmbH & Co. KG