org.apache.myfaces.application
Class ApplicationImpl

java.lang.Object
  extended by javax.faces.application.Application
      extended by org.apache.myfaces.application.ApplicationImpl

public class ApplicationImpl
extends Application

DOCUMENT ME!

Version:
$Revision: 1000673 $ $Date: 2010-09-23 19:40:36 -0500 (Thu, 23 Sep 2010) $
Author:
Manfred Geiler (latest modification by $Author: lu4242 $), Anton Koinov, Thomas Spiegl

Constructor Summary
ApplicationImpl()
           
 
Method Summary
 void addComponent(String componentType, String componentClassName)
           
 void addConverter(Class targetClass, String converterClass)
           
 void addConverter(String converterId, String converterClass)
           
 void addValidator(String validatorId, String validatorClass)
           
 UIComponent createComponent(String componentType)
           
 UIComponent createComponent(ValueBinding valueBinding, FacesContext facesContext, String componentType)
           
 Converter createConverter(Class targetClass)
           
 Converter createConverter(String converterId)
           
 MethodBinding createMethodBinding(String reference, Class[] params)
           
 Validator createValidator(String validatorId)
           
 ValueBinding createValueBinding(String reference)
           
 ActionListener getActionListener()
           
 Iterator getComponentTypes()
           
 Iterator getConverterIds()
           
 Iterator getConverterTypes()
           
 Locale getDefaultLocale()
           
 String getDefaultRenderKitId()
           
 String getMessageBundle()
           
 NavigationHandler getNavigationHandler()
           
 PropertyResolver getPropertyResolver()
           
 StateManager getStateManager()
           
 Iterator getSupportedLocales()
           
 Iterator getValidatorIds()
           
 VariableResolver getVariableResolver()
           
 ViewHandler getViewHandler()
           
 void setActionListener(ActionListener actionListener)
           
 void setDefaultLocale(Locale locale)
           
 void setDefaultRenderKitId(String defaultRenderKitId)
           
 void setMessageBundle(String messageBundle)
           
 void setNavigationHandler(NavigationHandler navigationHandler)
           
 void setPropertyResolver(PropertyResolver propertyResolver)
           
 void setStateManager(StateManager stateManager)
           
 void setSupportedLocales(Collection locales)
           
 void setVariableResolver(VariableResolver variableResolver)
           
 void setViewHandler(ViewHandler viewHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationImpl

public ApplicationImpl()
Method Detail

setActionListener

public void setActionListener(ActionListener actionListener)
Specified by:
setActionListener in class Application

getActionListener

public ActionListener getActionListener()
Specified by:
getActionListener in class Application

getComponentTypes

public Iterator getComponentTypes()
Specified by:
getComponentTypes in class Application

getConverterIds

public Iterator getConverterIds()
Specified by:
getConverterIds in class Application

getConverterTypes

public Iterator getConverterTypes()
Specified by:
getConverterTypes in class Application

setDefaultLocale

public void setDefaultLocale(Locale locale)
Specified by:
setDefaultLocale in class Application

getDefaultLocale

public Locale getDefaultLocale()
Specified by:
getDefaultLocale in class Application

setMessageBundle

public void setMessageBundle(String messageBundle)
Specified by:
setMessageBundle in class Application

getMessageBundle

public String getMessageBundle()
Specified by:
getMessageBundle in class Application

setNavigationHandler

public void setNavigationHandler(NavigationHandler navigationHandler)
Specified by:
setNavigationHandler in class Application

getNavigationHandler

public NavigationHandler getNavigationHandler()
Specified by:
getNavigationHandler in class Application

setPropertyResolver

public void setPropertyResolver(PropertyResolver propertyResolver)
Specified by:
setPropertyResolver in class Application

getPropertyResolver

public PropertyResolver getPropertyResolver()
Specified by:
getPropertyResolver in class Application

setSupportedLocales

public void setSupportedLocales(Collection locales)
Specified by:
setSupportedLocales in class Application

getSupportedLocales

public Iterator getSupportedLocales()
Specified by:
getSupportedLocales in class Application

getValidatorIds

public Iterator getValidatorIds()
Specified by:
getValidatorIds in class Application

setVariableResolver

public void setVariableResolver(VariableResolver variableResolver)
Specified by:
setVariableResolver in class Application

getVariableResolver

public VariableResolver getVariableResolver()
Specified by:
getVariableResolver in class Application

setViewHandler

public void setViewHandler(ViewHandler viewHandler)
Specified by:
setViewHandler in class Application

getViewHandler

public ViewHandler getViewHandler()
Specified by:
getViewHandler in class Application

addComponent

public void addComponent(String componentType,
                         String componentClassName)
Specified by:
addComponent in class Application

addConverter

public void addConverter(String converterId,
                         String converterClass)
Specified by:
addConverter in class Application

addConverter

public void addConverter(Class targetClass,
                         String converterClass)
Specified by:
addConverter in class Application

addValidator

public void addValidator(String validatorId,
                         String validatorClass)
Specified by:
addValidator in class Application

createComponent

public UIComponent createComponent(String componentType)
                            throws FacesException
Specified by:
createComponent in class Application
Throws:
FacesException

createComponent

public UIComponent createComponent(ValueBinding valueBinding,
                                   FacesContext facesContext,
                                   String componentType)
                            throws FacesException
Specified by:
createComponent in class Application
Throws:
FacesException

createConverter

public Converter createConverter(String converterId)
Specified by:
createConverter in class Application

createConverter

public Converter createConverter(Class targetClass)
Specified by:
createConverter in class Application

createMethodBinding

public MethodBinding createMethodBinding(String reference,
                                         Class[] params)
                                  throws ReferenceSyntaxException
Specified by:
createMethodBinding in class Application
Throws:
ReferenceSyntaxException

createValidator

public Validator createValidator(String validatorId)
                          throws FacesException
Specified by:
createValidator in class Application
Throws:
FacesException

createValueBinding

public ValueBinding createValueBinding(String reference)
                                throws ReferenceSyntaxException
Specified by:
createValueBinding in class Application
Throws:
ReferenceSyntaxException

getDefaultRenderKitId

public String getDefaultRenderKitId()
Specified by:
getDefaultRenderKitId in class Application

setDefaultRenderKitId

public void setDefaultRenderKitId(String defaultRenderKitId)
Specified by:
setDefaultRenderKitId in class Application

getStateManager

public StateManager getStateManager()
Specified by:
getStateManager in class Application

setStateManager

public void setStateManager(StateManager stateManager)
Specified by:
setStateManager in class Application


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