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

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

public class DigesterFacesConfigDispenserImpl
extends Object
implements FacesConfigDispenser

Author:
Oliver Rossmueller

Constructor Summary
DigesterFacesConfigDispenserImpl()
           
 
Method Summary
 void feed(Object facesConfig)
          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 getActionListenerIterator()
           
 Iterator getApplicationFactoryIterator()
           
 String getComponentClass(String componentType)
           
 Iterator getComponentTypes()
           
 String getConverterClassByClass(String className)
           
 String getConverterClassById(String converterId)
           
 Iterator getConverterClasses()
           
 Converter getConverterConfiguration(String converterClassName)
          delivers a converter-configuration for one class-name
 Iterator getConverterConfigurationByClassName()
           
 Iterator getConverterIds()
           
 String getDefaultLocale()
           
 String getDefaultRenderKitId()
           
 Iterator getFacesContextFactoryIterator()
           
 Iterator getLifecycleFactoryIterator()
           
 Iterator getLifecyclePhaseListeners()
           
 Iterator getManagedBeans()
           
 String getMessageBundle()
           
 Iterator getNavigationHandlerIterator()
           
 Iterator getNavigationRules()
           
 Iterator getPropertyResolverIterator()
           
 Iterator getRenderers(String renderKitId)
           
 String getRenderKitClass(String renderKitId)
           
 Iterator getRenderKitFactoryIterator()
           
 Iterator getRenderKitIds()
           
 Iterator getStateManagerIterator()
           
 Iterator getSupportedLocalesIterator()
           
 String getValidatorClass(String validatorId)
           
 Iterator getValidatorIds()
           
 Iterator getVariableResolverIterator()
           
 Iterator 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(Object facesConfig)
Add another unmarshalled faces config object.

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

feedApplicationFactory

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

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

feedFacesContextFactory

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

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

feedLifecycleFactory

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

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

feedRenderKitFactory

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

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

getApplicationFactoryIterator

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

getFacesContextFactoryIterator

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

getLifecycleFactoryIterator

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

getRenderKitFactoryIterator

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

getActionListenerIterator

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

getDefaultRenderKitId

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

getMessageBundle

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

getNavigationHandlerIterator

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

getViewHandlerIterator

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

getStateManagerIterator

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

getPropertyResolverIterator

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

getVariableResolverIterator

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

getDefaultLocale

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

getSupportedLocalesIterator

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

getComponentTypes

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

getComponentClass

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

getConverterIds

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

getConverterClasses

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

getConverterConfigurationByClassName

public Iterator getConverterConfigurationByClassName()
Specified by:
getConverterConfigurationByClassName in interface FacesConfigDispenser
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

getConverterClassById

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

getConverterClassByClass

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

getValidatorIds

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

getValidatorClass

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

getManagedBeans

public Iterator getManagedBeans()
Specified by:
getManagedBeans in interface FacesConfigDispenser
Returns:
Iterator over ManagedBeans

getNavigationRules

public Iterator getNavigationRules()
Specified by:
getNavigationRules in interface FacesConfigDispenser
Returns:
Iterator over NavigationRules

getRenderKitIds

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

getRenderKitClass

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

getRenderers

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

getLifecyclePhaseListeners

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


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