org.apache.myfaces.config.impl.digester
Class DigesterFacesConfigDispenserImpl

java.lang.Object
  extended by org.apache.myfaces.config.element.FacesConfigData
      extended by org.apache.myfaces.config.FacesConfigDispenser
          extended by org.apache.myfaces.config.impl.digester.DigesterFacesConfigDispenserImpl
All Implemented Interfaces:
Serializable

public class DigesterFacesConfigDispenserImpl
extends FacesConfigDispenser

Author:
Oliver Rossmueller
See Also:
Serialized Form

Constructor Summary
DigesterFacesConfigDispenserImpl()
           
 
Method Summary
 void feed(FacesConfig config)
          Add another unmarshalled faces config object.
 void feedApplicationFactory(String factoryClassName)
          Add another ApplicationFactory class name
 void feedExceptionHandlerFactory(String factoryClassName)
          Add another ExceptionHandlerFactory class name
 void feedExternalContextFactory(String factoryClassName)
          Add another ExternalContextFactory class name
 void feedFaceletCacheFactory(String factoryClassName)
          Add another FaceletCacheFactory class name
 void feedFacesContextFactory(String factoryClassName)
          Add another FacesContextFactory class name
 void feedLifecycleFactory(String factoryClassName)
          Add another LifecycleFactory class name
 void feedPartialViewContextFactory(String factoryClassName)
          Add another PartialViewContextFactory class name
 void feedRenderKitFactory(String factoryClassName)
          Add another RenderKitFactory class name
 void feedTagHandlerDelegateFactory(String factoryClassName)
          Add another TagHandlerDelegateFactory class name
 void feedViewDeclarationLanguageFactory(String factoryClassName)
          Add another ViewDeclarationLanguageFactory class name
 void feedVisitContextFactory(String factoryClassName)
          Add another VisitContextFactory class name
 Collection<String> getActionListenerIterator()
           
 Collection<String> getApplicationFactoryIterator()
           
 Collection<Behavior> getBehaviors()
           
 Collection<ClientBehaviorRenderer> getClientBehaviorRenderers(String renderKitId)
           
 String getComponentClass(String componentType)
           
 Collection<String> getComponentTypes()
           
 String getConverterClassByClass(String className)
           
 String getConverterClassById(String converterId)
           
 Collection<String> getConverterClasses()
           
 Converter getConverterConfiguration(String converterClassName)
          delivers a converter-configuration for one class-name
 Collection<String> getConverterConfigurationByClassName()
           
 Collection<String> getConverterIds()
           
 String getDefaultLocale()
           
 String getDefaultRenderKitId()
           
 Collection<String> getDefaultValidatorIds()
           
 Collection<String> getElResolvers()
           
 Collection<String> getExceptionHandlerFactoryIterator()
           
 Collection<String> getExternalContextFactoryIterator()
           
 Collection<String> getFaceletCacheFactoryIterator()
           
 Collection<FaceletsProcessing> getFaceletsProcessing()
           
 FaceletsProcessing getFaceletsProcessingConfiguration(String fileExtension)
           
 Collection<String> getFacesContextFactoryIterator()
           
 String getFacesVersion()
           
 Collection<String> getLifecycleFactoryIterator()
           
 Collection<String> getLifecyclePhaseListeners()
           
 Collection<ManagedBean> getManagedBeans()
           
 String getMessageBundle()
           
 Collection<NamedEvent> getNamedEvents()
           
 Collection<String> getNavigationHandlerIterator()
           
 Collection<NavigationRule> getNavigationRules()
           
 String getPartialTraversal()
           
 Collection<String> getPartialViewContextFactoryIterator()
           
 Collection<String> getPropertyResolverIterator()
           
 Collection<Renderer> getRenderers(String renderKitId)
           
 Collection<String> getRenderKitClasses(String renderKitId)
           
 Collection<String> getRenderKitFactoryIterator()
           
 Collection<String> getRenderKitIds()
           
 Collection<ResourceBundle> getResourceBundles()
           
 Collection<String> getResourceHandlerIterator()
           
 Collection<String> getStateManagerIterator()
           
 Collection<String> getSupportedLocalesIterator()
           
 Collection<SystemEventListener> getSystemEventListeners()
           
 Collection<String> getTagHandlerDelegateFactoryIterator()
           
 String getValidatorClass(String validatorId)
           
 Collection<String> getValidatorIds()
           
 Collection<String> getVariableResolverIterator()
           
 Collection<String> getViewDeclarationLanguageFactoryIterator()
           
 Collection<String> getViewHandlerIterator()
           
 Collection<String> getVisitContextFactoryIterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DigesterFacesConfigDispenserImpl

public DigesterFacesConfigDispenserImpl()
Method Detail

feed

public void feed(FacesConfig config)
Add another unmarshalled faces config object.

Specified by:
feed in class FacesConfigDispenser
Parameters:
config - unmarshalled faces config object

feedApplicationFactory

public void feedApplicationFactory(String factoryClassName)
Add another ApplicationFactory class name

Specified by:
feedApplicationFactory in class FacesConfigDispenser
Parameters:
factoryClassName - a class name

feedExceptionHandlerFactory

public void feedExceptionHandlerFactory(String factoryClassName)
Description copied from class: FacesConfigDispenser
Add another ExceptionHandlerFactory class name

Specified by:
feedExceptionHandlerFactory in class FacesConfigDispenser
Parameters:
factoryClassName - a class name

feedExternalContextFactory

public void feedExternalContextFactory(String factoryClassName)
Description copied from class: FacesConfigDispenser
Add another ExternalContextFactory class name

Specified by:
feedExternalContextFactory in class FacesConfigDispenser
Parameters:
factoryClassName - a class name

feedFacesContextFactory

public void feedFacesContextFactory(String factoryClassName)
Add another FacesContextFactory class name

Specified by:
feedFacesContextFactory in class FacesConfigDispenser
Parameters:
factoryClassName - a class name

feedLifecycleFactory

public void feedLifecycleFactory(String factoryClassName)
Add another LifecycleFactory class name

Specified by:
feedLifecycleFactory in class FacesConfigDispenser
Parameters:
factoryClassName - a class name

feedViewDeclarationLanguageFactory

public void feedViewDeclarationLanguageFactory(String factoryClassName)
Description copied from class: FacesConfigDispenser
Add another ViewDeclarationLanguageFactory class name

Specified by:
feedViewDeclarationLanguageFactory in class FacesConfigDispenser
Parameters:
factoryClassName - a class name

feedPartialViewContextFactory

public void feedPartialViewContextFactory(String factoryClassName)
Description copied from class: FacesConfigDispenser
Add another PartialViewContextFactory class name

Specified by:
feedPartialViewContextFactory in class FacesConfigDispenser
Parameters:
factoryClassName - a class name

feedRenderKitFactory

public void feedRenderKitFactory(String factoryClassName)
Add another RenderKitFactory class name

Specified by:
feedRenderKitFactory in class FacesConfigDispenser
Parameters:
factoryClassName - a class name

feedTagHandlerDelegateFactory

public void feedTagHandlerDelegateFactory(String factoryClassName)
Description copied from class: FacesConfigDispenser
Add another TagHandlerDelegateFactory class name

Specified by:
feedTagHandlerDelegateFactory in class FacesConfigDispenser
Parameters:
factoryClassName - a class name

feedVisitContextFactory

public void feedVisitContextFactory(String factoryClassName)
Description copied from class: FacesConfigDispenser
Add another VisitContextFactory class name

Specified by:
feedVisitContextFactory in class FacesConfigDispenser
Parameters:
factoryClassName - a class name

getApplicationFactoryIterator

public Collection<String> getApplicationFactoryIterator()
Specified by:
getApplicationFactoryIterator in class FacesConfigData
Returns:
Collection over ApplicationFactory class names

getExceptionHandlerFactoryIterator

public Collection<String> getExceptionHandlerFactoryIterator()
Specified by:
getExceptionHandlerFactoryIterator in class FacesConfigData
Returns:
Iterator over ExceptionHandlerFactory class names

getExternalContextFactoryIterator

public Collection<String> getExternalContextFactoryIterator()
Specified by:
getExternalContextFactoryIterator in class FacesConfigData
Returns:
Iterator over ExternalContextFactory class names

getFacesContextFactoryIterator

public Collection<String> getFacesContextFactoryIterator()
Specified by:
getFacesContextFactoryIterator in class FacesConfigData
Returns:
Collection over FacesContextFactory class names

getLifecycleFactoryIterator

public Collection<String> getLifecycleFactoryIterator()
Specified by:
getLifecycleFactoryIterator in class FacesConfigData
Returns:
Collection over LifecycleFactory class names

getViewDeclarationLanguageFactoryIterator

public Collection<String> getViewDeclarationLanguageFactoryIterator()
Specified by:
getViewDeclarationLanguageFactoryIterator in class FacesConfigData
Returns:
Iterator over ViewDeclarationLanguageFactory class names

getPartialViewContextFactoryIterator

public Collection<String> getPartialViewContextFactoryIterator()
Specified by:
getPartialViewContextFactoryIterator in class FacesConfigData
Returns:
Iterator over PartialViewContextFactory class names

getRenderKitFactoryIterator

public Collection<String> getRenderKitFactoryIterator()
Specified by:
getRenderKitFactoryIterator in class FacesConfigData
Returns:
Collection over RenderKit factory class names

getTagHandlerDelegateFactoryIterator

public Collection<String> getTagHandlerDelegateFactoryIterator()
Specified by:
getTagHandlerDelegateFactoryIterator in class FacesConfigData
Returns:
Iterator over TagHandlerDelegateFactory factory class names

getVisitContextFactoryIterator

public Collection<String> getVisitContextFactoryIterator()
Specified by:
getVisitContextFactoryIterator in class FacesConfigData
Returns:
Iterator over VisitContextFactory factory class names

getActionListenerIterator

public Collection<String> getActionListenerIterator()
Specified by:
getActionListenerIterator in class FacesConfigData
Returns:
Collection over ActionListener class names

getDefaultRenderKitId

public String getDefaultRenderKitId()
Specified by:
getDefaultRenderKitId in class FacesConfigData
Returns:
the default render kit id

getMessageBundle

public String getMessageBundle()
Specified by:
getMessageBundle in class FacesConfigData
Returns:
Collection over message bundle names

getNavigationHandlerIterator

public Collection<String> getNavigationHandlerIterator()
Specified by:
getNavigationHandlerIterator in class FacesConfigData
Returns:
Collection over NavigationHandler class names

getPartialTraversal

public String getPartialTraversal()
Specified by:
getPartialTraversal in class FacesConfigData
Returns:
the partial traversal class name

getResourceHandlerIterator

public Collection<String> getResourceHandlerIterator()
Specified by:
getResourceHandlerIterator in class FacesConfigData
Returns:
Collection over ResourceHandler class names

getViewHandlerIterator

public Collection<String> getViewHandlerIterator()
Specified by:
getViewHandlerIterator in class FacesConfigData
Returns:
Collection over ViewHandler class names

getStateManagerIterator

public Collection<String> getStateManagerIterator()
Specified by:
getStateManagerIterator in class FacesConfigData
Returns:
Collection over StateManager class names

getPropertyResolverIterator

public Collection<String> getPropertyResolverIterator()
Specified by:
getPropertyResolverIterator in class FacesConfigData
Returns:
Collection over PropertyResolver class names

getVariableResolverIterator

public Collection<String> getVariableResolverIterator()
Specified by:
getVariableResolverIterator in class FacesConfigData
Returns:
Collection over VariableResolver class names

getDefaultLocale

public String getDefaultLocale()
Specified by:
getDefaultLocale in class FacesConfigData
Returns:
the default locale name

getSupportedLocalesIterator

public Collection<String> getSupportedLocalesIterator()
Specified by:
getSupportedLocalesIterator in class FacesConfigData
Returns:
Collection over supported locale names

getComponentTypes

public Collection<String> getComponentTypes()
Specified by:
getComponentTypes in class FacesConfigData
Returns:
Collection over all defined component types

getComponentClass

public String getComponentClass(String componentType)
Specified by:
getComponentClass in class FacesConfigData
Returns:
component class that belongs to the given component type

getConverterIds

public Collection<String> getConverterIds()
Specified by:
getConverterIds in class FacesConfigData
Returns:
Collection over all defined converter ids

getConverterClasses

public Collection<String> getConverterClasses()
Specified by:
getConverterClasses in class FacesConfigData
Returns:
Collection over all classes with an associated converter

getConverterConfigurationByClassName

public Collection<String> getConverterConfigurationByClassName()
Specified by:
getConverterConfigurationByClassName in class FacesConfigData
Returns:
Iterator over the config classes for the converters

getConverterConfiguration

public Converter getConverterConfiguration(String converterClassName)
Description copied from class: FacesConfigData
delivers a converter-configuration for one class-name

Specified by:
getConverterConfiguration in class FacesConfigData

getConverterClassById

public String getConverterClassById(String converterId)
Specified by:
getConverterClassById in class FacesConfigData
Returns:
converter class that belongs to the given converter id

getConverterClassByClass

public String getConverterClassByClass(String className)
Specified by:
getConverterClassByClass in class FacesConfigData
Returns:
converter class that is associated with the given class name

getDefaultValidatorIds

public Collection<String> getDefaultValidatorIds()
Specified by:
getDefaultValidatorIds in class FacesConfigData
Returns:
Collection over all defined default validator ids

getValidatorIds

public Collection<String> getValidatorIds()
Specified by:
getValidatorIds in class FacesConfigData
Returns:
Collection over all defined validator ids

getValidatorClass

public String getValidatorClass(String validatorId)
Specified by:
getValidatorClass in class FacesConfigData
Returns:
validator class name that belongs to the given validator id

getManagedBeans

public Collection<ManagedBean> getManagedBeans()
Specified by:
getManagedBeans in class FacesConfigData
Returns:
Collection over ManagedBeans

getNavigationRules

public Collection<NavigationRule> getNavigationRules()
Specified by:
getNavigationRules in class FacesConfigData
Returns:
Collection over NavigationRules

getRenderKitIds

public Collection<String> getRenderKitIds()
Specified by:
getRenderKitIds in class FacesConfigData
Returns:
Collection over all defined renderkit ids

getRenderKitClasses

public Collection<String> getRenderKitClasses(String renderKitId)
Specified by:
getRenderKitClasses in class FacesConfigData
Returns:
renderkit class name for given renderkit id

getClientBehaviorRenderers

public Collection<ClientBehaviorRenderer> getClientBehaviorRenderers(String renderKitId)
Specified by:
getClientBehaviorRenderers in class FacesConfigData
Returns:
Iterator over ClientBehaviorRenderers for the given renderKitId

getRenderers

public Collection<Renderer> getRenderers(String renderKitId)
Specified by:
getRenderers in class FacesConfigData
Returns:
Collection over Renderers for the given renderKitId

getLifecyclePhaseListeners

public Collection<String> getLifecyclePhaseListeners()
Specified by:
getLifecyclePhaseListeners in class FacesConfigData
Returns:
Collection over PhaseListener implementation class names

getResourceBundles

public Collection<ResourceBundle> getResourceBundles()
Specified by:
getResourceBundles in class FacesConfigData
Returns:
Iterator over ResourceBundle

getElResolvers

public Collection<String> getElResolvers()
Specified by:
getElResolvers in class FacesConfigData
Returns:
Iterator over ELResolver implementation class names

getSystemEventListeners

public Collection<SystemEventListener> getSystemEventListeners()
Specified by:
getSystemEventListeners in class FacesConfigData
Returns:
Iterator over (@link SystemEventListener) implementation class names

getBehaviors

public Collection<Behavior> getBehaviors()
Specified by:
getBehaviors in class FacesConfigData
Returns:
Collection over behaviors

getFacesVersion

public String getFacesVersion()
Specified by:
getFacesVersion in class FacesConfigData
Returns:
Faces application version.

getNamedEvents

public Collection<NamedEvent> getNamedEvents()
Specified by:
getNamedEvents in class FacesConfigData
Returns:

getFaceletsProcessing

public Collection<FaceletsProcessing> getFaceletsProcessing()
Overrides:
getFaceletsProcessing in class FacesConfigData

getFaceletsProcessingConfiguration

public FaceletsProcessing getFaceletsProcessingConfiguration(String fileExtension)

feedFaceletCacheFactory

public void feedFaceletCacheFactory(String factoryClassName)
Description copied from class: FacesConfigDispenser
Add another FaceletCacheFactory class name

Overrides:
feedFaceletCacheFactory in class FacesConfigDispenser
Parameters:
factoryClassName - a class name

getFaceletCacheFactoryIterator

public Collection<String> getFaceletCacheFactoryIterator()
Overrides:
getFaceletCacheFactoryIterator in class FacesConfigData
Returns:
Iterator over FaceletCacheFactory factory class names


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.