org.nuxeo.ecm.platform.ui.web.jsf
Class MockFacesContext.MockApplication
java.lang.Object
javax.faces.application.Application
org.nuxeo.ecm.platform.ui.web.jsf.MockFacesContext.MockApplication
- Enclosing class:
- MockFacesContext
public class MockFacesContext.MockApplication
- extends Application
MockFacesContext.MockApplication
public MockFacesContext.MockApplication()
evaluateExpressionGet
public Object evaluateExpressionGet(FacesContext context,
String expression,
Class expectedType)
throws ELException
- Overrides:
evaluateExpressionGet
in class Application
- Throws:
ELException
addComponent
public void addComponent(String componentType,
String componentClass)
- Specified by:
addComponent
in class Application
addConverter
public void addConverter(Class targetClass,
String converterClass)
- Specified by:
addConverter
in class Application
addConverter
public void addConverter(String converterId,
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 componentBinding,
FacesContext context,
String componentType)
throws FacesException
- Specified by:
createComponent
in class Application
- Throws:
FacesException
createConverter
public Converter createConverter(Class targetClass)
- Specified by:
createConverter
in class Application
createConverter
public Converter createConverter(String converterId)
- Specified by:
createConverter
in class Application
createMethodBinding
public MethodBinding createMethodBinding(String ref,
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 ref)
throws ReferenceSyntaxException
- Specified by:
createValueBinding
in class Application
- Throws:
ReferenceSyntaxException
getActionListener
public ActionListener getActionListener()
- Specified by:
getActionListener
in class Application
getComponentTypes
public Iterator<String> getComponentTypes()
- Specified by:
getComponentTypes
in class Application
getConverterIds
public Iterator<String> getConverterIds()
- Specified by:
getConverterIds
in class Application
getConverterTypes
public Iterator<Class> getConverterTypes()
- Specified by:
getConverterTypes
in class Application
getDefaultLocale
public Locale getDefaultLocale()
- Specified by:
getDefaultLocale
in class Application
getDefaultRenderKitId
public String getDefaultRenderKitId()
- Specified by:
getDefaultRenderKitId
in class Application
getMessageBundle
public String getMessageBundle()
- Specified by:
getMessageBundle
in class Application
getNavigationHandler
public NavigationHandler getNavigationHandler()
- Specified by:
getNavigationHandler
in class Application
getPropertyResolver
public PropertyResolver getPropertyResolver()
- Specified by:
getPropertyResolver
in class Application
getStateManager
public StateManager getStateManager()
- Specified by:
getStateManager
in class Application
getSupportedLocales
public Iterator<Locale> getSupportedLocales()
- Specified by:
getSupportedLocales
in class Application
getValidatorIds
public Iterator<String> getValidatorIds()
- Specified by:
getValidatorIds
in class Application
getVariableResolver
public VariableResolver getVariableResolver()
- Specified by:
getVariableResolver
in class Application
getViewHandler
public ViewHandler getViewHandler()
- Specified by:
getViewHandler
in class Application
setActionListener
public void setActionListener(ActionListener listener)
- Specified by:
setActionListener
in class Application
setDefaultLocale
public void setDefaultLocale(Locale locale)
- Specified by:
setDefaultLocale
in class Application
setDefaultRenderKitId
public void setDefaultRenderKitId(String renderKitId)
- Specified by:
setDefaultRenderKitId
in class Application
setMessageBundle
public void setMessageBundle(String bundle)
- Specified by:
setMessageBundle
in class Application
setNavigationHandler
public void setNavigationHandler(NavigationHandler handler)
- Specified by:
setNavigationHandler
in class Application
setPropertyResolver
public void setPropertyResolver(PropertyResolver resolver)
- Specified by:
setPropertyResolver
in class Application
setStateManager
public void setStateManager(StateManager manager)
- Specified by:
setStateManager
in class Application
setSupportedLocales
public void setSupportedLocales(Collection<Locale> locales)
- Specified by:
setSupportedLocales
in class Application
setVariableResolver
public void setVariableResolver(VariableResolver resolver)
- Specified by:
setVariableResolver
in class Application
setViewHandler
public void setViewHandler(ViewHandler handler)
- Specified by:
setViewHandler
in class Application
Copyright © 2011 Nuxeo SAS. All Rights Reserved.