| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ApplicationAssociate | |
| private BeanManager | beanManager
Stores the bean manager. |
| private final ViewMemberInstanceFactoryMetadataMap | |
| private static final String | |
| private static final String | |
| private static final String | |
| private final ViewMemberInstanceFactoryMetadataMap | |
| private static final String | |
| private final ViewMemberInstanceFactoryMetadataMap | |
| private final Map | |
| private final Set | |
| private volatile Map | |
| private static final Logger | |
| private final boolean | |
| private final boolean | |
| private final String[] | |
| private static final Map | |
| private static final Map | |
| private TimeZone | |
| private final ViewMemberInstanceFactoryMetadataMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | |
| public synchronized void | |
| private void | addPropertyEditorIfNecessary(Class<?>
the target class for which a PropertyEditory may or may not be created targetClass)
To enable EL Coercion to use Faces Custom converters, this method will call
|
| public void | |
| private void | applyAnnotations(FacesContext ctx, String rendererType, UIComponent c)
Process any annotations associated with this component/renderer. |
| public Behavior | |
| private Behavior | |
| private Converter | |
| private Validator | |
| public UIComponent | |
| public UIComponent | |
| public UIComponent | createComponent(FacesContext context, Resource componentResource, ExpressionFactory expressionFactory)
|
| public UIComponent | |
| public UIComponent | createComponent(ValueExpression componentExpression, FacesContext context, String componentType, String rendererType)
|
| private UIComponent | createComponentApplyAnnotations(FacesContext ctx, ValueExpression componentExpression, String componentType, String rendererType, boolean applyAnnotations)
Leveraged by
|
| private UIComponent | createComponentApplyAnnotations(FacesContext ctx, String componentType, String rendererType, boolean applyAnnotations)
Leveraged by |
| private UIComponent | createComponentFromScriptResource(FacesContext context, Resource scriptComponentResource, Resource componentResource)
|
| public Converter | |
| public Converter | |
| private Converter | |
| public Validator | |
| private BeanManager | |
| public Iterator | |
| public Iterator | |
| public Iterator | |
| public Iterator | |
| public Map | |
| public Iterator | |
| protected Object | Returns: The new object instance.Used to look up the value in the key, Map<Class<?>, Object> Map.The map, Class<?> Map that will be searched.the target class for the single argument ctor targetClass)The same as newThing except that a single argument constructor that accepts a Class is looked for before calling the no-arg version. |
| private <T> T | Returns: The new object instance.Used to look up the value in the key, ViewMemberInstanceFactoryMetadataMap<String, Object> Map.The map)Map that will be searched.PRECONDITIONS: the values in the Map are either Strings representing fully qualified java class names, or java.lang.Class instances. |
| private void | pushDeclaredDefaultValuesToAttributesMap(FacesContext context, BeanInfo componentMetadata, Map<String, Object> attrs, UIComponent component, ExpressionFactory expressionFactory)
|
| associate | back to summary |
|---|---|
| private final ApplicationAssociate associate | |
| beanManager | back to summary |
|---|---|
| private BeanManager beanManager Stores the bean manager. | |
| behaviorMap | back to summary |
|---|---|
| private final ViewMemberInstanceFactoryMetadataMap<String, Object> behaviorMap | |
| COMPONENT_CLASS | back to summary |
|---|---|
| private static final String COMPONENT_CLASS | |
| COMPONENT_EXPRESSION | back to summary |
|---|---|
| private static final String COMPONENT_EXPRESSION | |
| COMPONENT_TYPE | back to summary |
|---|---|
| private static final String COMPONENT_TYPE | |
| componentMap | back to summary |
|---|---|
| private final ViewMemberInstanceFactoryMetadataMap<String, Object> componentMap | |
| CONTEXT | back to summary |
|---|---|
| private static final String CONTEXT | |
| converterIdMap | back to summary |
|---|---|
| private final ViewMemberInstanceFactoryMetadataMap<String, Object> converterIdMap | |
| converterTypeMap | back to summary |
|---|---|
| private final Map<Class<?>, Object> converterTypeMap | |
| defaultValidatorIds | back to summary |
|---|---|
| private final Set<String> defaultValidatorIds | |
| defaultValidatorInfo | back to summary |
|---|---|
| private volatile Map<String, String> defaultValidatorInfo | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| passDefaultTimeZone | back to summary |
|---|---|
| private final boolean passDefaultTimeZone | |
| registerPropertyEditors | back to summary |
|---|---|
| private final boolean registerPropertyEditors | |
| STANDARD_BY_TYPE_CONVERTER_CLASSES | back to summary |
|---|---|
| private final String[] STANDARD_BY_TYPE_CONVERTER_CLASSES | |
| STANDARD_CONV_ID_TO_TYPE_MAP | back to summary |
|---|---|
| private static final Map<String, Class<?>[]> STANDARD_CONV_ID_TO_TYPE_MAP | |
| STANDARD_TYPE_TO_CONV_ID_MAP | back to summary |
|---|---|
| private static final Map<Class<?>, String> STANDARD_TYPE_TO_CONV_ID_MAP | |
| systemTimeZone | back to summary |
|---|---|
| private TimeZone systemTimeZone | |
| validatorMap | back to summary |
|---|---|
| private final ViewMemberInstanceFactoryMetadataMap<String, Object> validatorMap | |
| InstanceFactory | back to summary |
|---|---|
| public InstanceFactory(ApplicationAssociate applicationAssociate) | |
| addBehavior | back to summary |
|---|---|
| public void addBehavior(String behaviorId, String behaviorClass) | |
| addComponent | back to summary |
|---|---|
| public void addComponent(String componentType, String componentClass) | |
| addConverter | back to summary |
|---|---|
| public void addConverter(String converterId, String converterClass) | |
| addConverter | back to summary |
|---|---|
| public void addConverter(Class<?> targetClass, String converterClass) | |
| addDefaultValidatorId | back to summary |
|---|---|
| public synchronized void addDefaultValidatorId(String validatorId) | |
| addPropertyEditorIfNecessary | back to summary |
|---|---|
| private void addPropertyEditorIfNecessary(Class<?> targetClass)
To enable EL Coercion to use Faces Custom converters, this method will call
| |
| addValidator | back to summary |
|---|---|
| public void addValidator(String validatorId, String validatorClass) | |
| applyAnnotations | back to summary |
|---|---|
| private void applyAnnotations(FacesContext ctx, String rendererType, UIComponent c) Process any annotations associated with this component/renderer. | |
| createBehavior | back to summary |
|---|---|
| public Behavior createBehavior(String behaviorId) throws FacesException | |
| createCDIBehavior | back to summary |
|---|---|
| private Behavior createCDIBehavior(String behaviorId) | |
| createCDIConverter | back to summary |
|---|---|
| private Converter | |
| createCDIValidator | back to summary |
|---|---|
| private Validator | |
| createComponent | back to summary |
|---|---|
| public UIComponent createComponent(ValueExpression componentExpression, FacesContext context, String componentType) throws FacesException | |
| createComponent | back to summary |
|---|---|
| public UIComponent createComponent(String componentType) throws FacesException | |
| createComponent | back to summary |
|---|---|
| public UIComponent createComponent(FacesContext context, Resource componentResource, ExpressionFactory expressionFactory) throws FacesException | |
| createComponent | back to summary |
|---|---|
| public UIComponent createComponent(FacesContext context, String componentType, String rendererType) | |
| createComponent | back to summary |
|---|---|
| public UIComponent createComponent(ValueExpression componentExpression, FacesContext context, String componentType, String rendererType) | |
| createComponentApplyAnnotations | back to summary |
|---|---|
| private UIComponent createComponentApplyAnnotations(FacesContext ctx, ValueExpression componentExpression, String componentType, String rendererType, boolean applyAnnotations) Leveraged by
| |
| createComponentApplyAnnotations | back to summary |
|---|---|
| private UIComponent createComponentApplyAnnotations(FacesContext ctx, String componentType, String rendererType, boolean applyAnnotations) Leveraged by | |
| createComponentFromScriptResource | back to summary |
|---|---|
| private UIComponent createComponentFromScriptResource(FacesContext context, Resource scriptComponentResource, Resource componentResource) | |
| createConverter | back to summary |
|---|---|
| public Converter | |
| createConverter | back to summary |
|---|---|
| public Converter | |
| createConverterBasedOnClass | back to summary |
|---|---|
| private Converter | |
| createValidator | back to summary |
|---|---|
| public Validator | |
| getBeanManager | back to summary |
|---|---|
| private BeanManager getBeanManager() Get the bean manager.
| |
| getBehaviorIds | back to summary |
|---|---|
| public Iterator | |
| getComponentTypes | back to summary |
|---|---|
| public Iterator | |
| getConverterIds | back to summary |
|---|---|
| public Iterator | |
| getConverterTypes | back to summary |
|---|---|
| public Iterator | |
| getDefaultValidatorInfo | back to summary |
|---|---|
| public Map | |
| getValidatorIds | back to summary |
|---|---|
| public Iterator | |
| newConverter | back to summary |
|---|---|
| protected Object newConverter(Class<?> key, Map<Class<?>, Object> map, Class<?> targetClass) The same as newThing except that a single argument constructor that accepts a Class is looked for before calling the no-arg version. PRECONDITIONS: the values in the Map are either Strings representing fully qualified java class names, or java.lang.Class instances. ALGORITHM: Look in the argument map for a value for the argument key. If found, if the value is instanceof String, assume the String specifies a fully qualified java class name and obtain the java.lang.Class instance for that String using Util.loadClass(). Replace the String instance in the argument map with the Class instance. If the value is instanceof Class, proceed. Assert that the value is either instanceof java.lang.Class or java.lang.String. Now that you have a java.lang.class, call its newInstance and return it as the result of this method. | |
| newThing | back to summary |
|---|---|
| private <T> T newThing(String key, ViewMemberInstanceFactoryMetadataMap<String, Object> map) PRECONDITIONS: the values in the Map are either Strings representing fully qualified java class names, or java.lang.Class instances. ALGORITHM: Look in the argument map for a value for the argument key. If found, if the value is instanceof String, assume the String specifies a fully qualified java class name and obtain the java.lang.Class instance for that String using Util.loadClass(). Replace the String instance in the argument map with the Class instance. If the value is instanceof Class, proceed. Assert that the value is either instanceof java.lang.Class or java.lang.String. Now that you have a java.lang.class, call its newInstance and return it as the result of this method.
| |
| pushDeclaredDefaultValuesToAttributesMap | back to summary |
|---|---|
private void pushDeclaredDefaultValuesToAttributesMap(FacesContext context, BeanInfo componentMetadata, Map<String, Object> attrs, UIComponent component, ExpressionFactory expressionFactory)
| |
| Access | Constructor and Description |
|---|---|
| private |
| ComponentResourceClassNotFound | back to summary |
|---|---|
| private ComponentResourceClassNotFound() | |