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

java.lang.Object
  extended by org.apache.myfaces.config.impl.digester.DigesterFacesConfigDispenserImpl
All Implemented Interfaces:
FacesConfigDispenser<FacesConfig>

public class DigesterFacesConfigDispenserImpl
extends Object
implements FacesConfigDispenser<FacesConfig>

Author:
Oliver Rossmueller

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 feedFacesContextFactory(String factoryClassName)
          Add another FacesContextFactory class name
 void feedLifecycleFactory(String factoryClassName)
          Add another LifecycleFactory class name
 void feedRenderKitFactory(String factoryClassName)
          Add another RenderKitFactory class name
 Iterator<String> getActionListenerIterator()
           
 Iterator<String> getApplicationFactoryIterator()
           
 String getComponentClass(String componentType)
           
 Iterator getComponentTypes()
           
 String getConverterClassByClass(String className)
           
 String getConverterClassById(String converterId)
           
 Iterator<String> getConverterClasses()
           
 Converter getConverterConfiguration(String converterClassName)
          delivers a converter-configuration for one class-name
 Iterator<String> getConverterConfigurationByClassName()
           
 Iterator<String> getConverterIds()
           
 String getDefaultLocale()
           
 String getDefaultRenderKitId()
           
 Iterator<String> getElResolvers()
           
 Iterator<String> getFacesContextFactoryIterator()
           
 Iterator<String> getLifecycleFactoryIterator()
           
 Iterator<String> getLifecyclePhaseListeners()
           
 Iterator<ManagedBean> getManagedBeans()
           
 String getMessageBundle()
           
 Iterator<String> getNavigationHandlerIterator()
           
 Iterator<NavigationRule> getNavigationRules()
           
 Iterator<String> getPropertyResolverIterator()
           
 Iterator<Renderer> getRenderers(String renderKitId)
           
 String getRenderKitClass(String renderKitId)
           
 Iterator<String> getRenderKitFactoryIterator()
           
 Iterator<String> getRenderKitIds()
           
 Iterator<ResourceBundle> getResourceBundles()
           
 Iterator<String> getStateManagerIterator()
           
 Iterator getSupportedLocalesIterator()
           
 String getValidatorClass(String validatorId)
           
 Iterator getValidatorIds()
           
 Iterator<String> getVariableResolverIterator()
           
 Iterator<String> getViewHandlerIterator()
           
 
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 interface FacesConfigDispenser<FacesConfig>
Parameters:
config - unmarshalled faces config object

feedApplicationFactory

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

Specified by:
feedApplicationFactory in interface FacesConfigDispenser<FacesConfig>
Parameters:
factoryClassName - a class name

feedFacesContextFactory

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

Specified by:
feedFacesContextFactory in interface FacesConfigDispenser<FacesConfig>
Parameters:
factoryClassName - a class name

feedLifecycleFactory

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

Specified by:
feedLifecycleFactory in interface FacesConfigDispenser<FacesConfig>
Parameters:
factoryClassName - a class name

feedRenderKitFactory

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

Specified by:
feedRenderKitFactory in interface FacesConfigDispenser<FacesConfig>
Parameters:
factoryClassName - a class name

getApplicationFactoryIterator

public Iterator<String> getApplicationFactoryIterator()
Specified by:
getApplicationFactoryIterator in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over ApplicationFactory class names

getFacesContextFactoryIterator

public Iterator<String> getFacesContextFactoryIterator()
Specified by:
getFacesContextFactoryIterator in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over FacesContextFactory class names

getLifecycleFactoryIterator

public Iterator<String> getLifecycleFactoryIterator()
Specified by:
getLifecycleFactoryIterator in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over LifecycleFactory class names

getRenderKitFactoryIterator

public Iterator<String> getRenderKitFactoryIterator()
Specified by:
getRenderKitFactoryIterator in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over RenderKit factory class names

getActionListenerIterator

public Iterator<String> getActionListenerIterator()
Specified by:
getActionListenerIterator in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over ActionListener class names

getDefaultRenderKitId

public String getDefaultRenderKitId()
Specified by:
getDefaultRenderKitId in interface FacesConfigDispenser<FacesConfig>
Returns:
the default render kit id

getMessageBundle

public String getMessageBundle()
Specified by:
getMessageBundle in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over message bundle names

getNavigationHandlerIterator

public Iterator<String> getNavigationHandlerIterator()
Specified by:
getNavigationHandlerIterator in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over NavigationHandler class names

getViewHandlerIterator

public Iterator<String> getViewHandlerIterator()
Specified by:
getViewHandlerIterator in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over ViewHandler class names

getStateManagerIterator

public Iterator<String> getStateManagerIterator()
Specified by:
getStateManagerIterator in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over StateManager class names

getPropertyResolverIterator

public Iterator<String> getPropertyResolverIterator()
Specified by:
getPropertyResolverIterator in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over PropertyResolver class names

getVariableResolverIterator

public Iterator<String> getVariableResolverIterator()
Specified by:
getVariableResolverIterator in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over VariableResolver class names

getDefaultLocale

public String getDefaultLocale()
Specified by:
getDefaultLocale in interface FacesConfigDispenser<FacesConfig>
Returns:
the default locale name

getSupportedLocalesIterator

public Iterator getSupportedLocalesIterator()
Specified by:
getSupportedLocalesIterator in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over supported locale names

getComponentTypes

public Iterator getComponentTypes()
Specified by:
getComponentTypes in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over all defined component types

getComponentClass

public String getComponentClass(String componentType)
Specified by:
getComponentClass in interface FacesConfigDispenser<FacesConfig>
Returns:
component class that belongs to the given component type

getConverterIds

public Iterator<String> getConverterIds()
Specified by:
getConverterIds in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over all defined converter ids

getConverterClasses

public Iterator<String> getConverterClasses()
Specified by:
getConverterClasses in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over all classes with an associated converter

getConverterConfigurationByClassName

public Iterator<String> getConverterConfigurationByClassName()
Specified by:
getConverterConfigurationByClassName in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over the config classes for the converters

getConverterConfiguration

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

Specified by:
getConverterConfiguration in interface FacesConfigDispenser<FacesConfig>

getConverterClassById

public String getConverterClassById(String converterId)
Specified by:
getConverterClassById in interface FacesConfigDispenser<FacesConfig>
Returns:
converter class that belongs to the given converter id

getConverterClassByClass

public String getConverterClassByClass(String className)
Specified by:
getConverterClassByClass in interface FacesConfigDispenser<FacesConfig>
Returns:
converter class that is associated with the given class name

getValidatorIds

public Iterator getValidatorIds()
Specified by:
getValidatorIds in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over all defined validator ids

getValidatorClass

public String getValidatorClass(String validatorId)
Specified by:
getValidatorClass in interface FacesConfigDispenser<FacesConfig>
Returns:
validator class name that belongs to the given validator id

getManagedBeans

public Iterator<ManagedBean> getManagedBeans()
Specified by:
getManagedBeans in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over ManagedBeans

getNavigationRules

public Iterator<NavigationRule> getNavigationRules()
Specified by:
getNavigationRules in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over NavigationRules

getRenderKitIds

public Iterator<String> getRenderKitIds()
Specified by:
getRenderKitIds in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over all defined renderkit ids

getRenderKitClass

public String getRenderKitClass(String renderKitId)
Specified by:
getRenderKitClass in interface FacesConfigDispenser<FacesConfig>
Returns:
renderkit class name for given renderkit id

getRenderers

public Iterator<Renderer> getRenderers(String renderKitId)
Specified by:
getRenderers in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over Renderers for the given renderKitId

getLifecyclePhaseListeners

public Iterator<String> getLifecyclePhaseListeners()
Specified by:
getLifecyclePhaseListeners in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over PhaseListener implementation class names

getResourceBundles

public Iterator<ResourceBundle> getResourceBundles()
Specified by:
getResourceBundles in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over ResourceBundle

getElResolvers

public Iterator<String> getElResolvers()
Specified by:
getElResolvers in interface FacesConfigDispenser<FacesConfig>
Returns:
Iterator over ELResolver implementation class names


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