org.jboss.seam.mock
public class MockApplication extends javax.faces.application.Application
Constructor and Description |
---|
MockApplication() |
Modifier and Type | Method and Description |
---|---|
void |
addComponent(String name,
String x) |
void |
addConverter(Class type,
String converterClass) |
void |
addConverter(String id,
String converterClass) |
void |
addELContextListener(javax.el.ELContextListener elcl) |
void |
addELResolver(javax.el.ELResolver r) |
void |
addValidator(String id,
String validatorClass) |
javax.faces.component.UIComponent |
createComponent(javax.faces.context.FacesContext context,
String componentType,
String rendererType) |
javax.faces.component.UIComponent |
createComponent(String name) |
javax.faces.component.UIComponent |
createComponent(javax.faces.el.ValueBinding vb,
javax.faces.context.FacesContext fc,
String x) |
javax.faces.component.UIComponent |
createComponent(javax.el.ValueExpression ve,
javax.faces.context.FacesContext context,
String id) |
javax.faces.convert.Converter |
createConverter(Class clazz) |
javax.faces.convert.Converter |
createConverter(String id) |
javax.faces.el.MethodBinding |
createMethodBinding(String expression,
Class[] params) |
javax.faces.validator.Validator |
createValidator(String id) |
javax.faces.el.ValueBinding |
createValueBinding(String expression) |
Object |
evaluateExpressionGet(javax.faces.context.FacesContext context,
String expression,
Class type) |
javax.faces.event.ActionListener |
getActionListener() |
Iterator |
getComponentTypes() |
Iterator |
getConverterIds() |
Iterator |
getConverterTypes() |
Locale |
getDefaultLocale() |
String |
getDefaultRenderKitId() |
javax.el.ELContextListener[] |
getELContextListeners() |
javax.el.ELResolver |
getELResolver() |
javax.el.ExpressionFactory |
getExpressionFactory() |
String |
getMessageBundle() |
javax.faces.application.NavigationHandler |
getNavigationHandler() |
javax.faces.el.PropertyResolver |
getPropertyResolver() |
ResourceBundle |
getResourceBundle(javax.faces.context.FacesContext context,
String string) |
javax.faces.application.StateManager |
getStateManager() |
Iterator |
getSupportedLocales() |
Iterator |
getValidatorIds() |
javax.faces.el.VariableResolver |
getVariableResolver() |
javax.faces.application.ViewHandler |
getViewHandler() |
void |
publishEvent(javax.faces.context.FacesContext context,
Class<? extends javax.faces.event.SystemEvent> systemEventClass,
Class<?> sourceBaseType,
Object source) |
void |
publishEvent(javax.faces.context.FacesContext context,
Class<? extends javax.faces.event.SystemEvent> systemEventClass,
Object source) |
void |
removeELContextListener(javax.el.ELContextListener elcl) |
void |
setActionListener(javax.faces.event.ActionListener listener) |
void |
setDefaultLocale(Locale locale) |
void |
setDefaultRenderKitId(String rk) |
void |
setMessageBundle(String bundleName) |
void |
setNavigationHandler(javax.faces.application.NavigationHandler navigationHandler) |
void |
setPropertyResolver(javax.faces.el.PropertyResolver pr) |
void |
setStateManager(javax.faces.application.StateManager stateManager) |
void |
setSupportedLocales(Collection locales) |
void |
setVariableResolver(javax.faces.el.VariableResolver variableResolver) |
void |
setViewHandler(javax.faces.application.ViewHandler viewHandler) |
addBehavior, addDefaultValidatorId, createBehavior, createComponent, createComponent, getBehaviorIds, getDefaultValidatorInfo, getProjectStage, getResourceHandler, setResourceHandler, subscribeToEvent, subscribeToEvent, unsubscribeFromEvent, unsubscribeFromEvent
public void publishEvent(javax.faces.context.FacesContext context, Class<? extends javax.faces.event.SystemEvent> systemEventClass, Object source)
publishEvent
in class javax.faces.application.Application
public void publishEvent(javax.faces.context.FacesContext context, Class<? extends javax.faces.event.SystemEvent> systemEventClass, Class<?> sourceBaseType, Object source)
publishEvent
in class javax.faces.application.Application
public Object evaluateExpressionGet(javax.faces.context.FacesContext context, String expression, Class type) throws javax.el.ELException
evaluateExpressionGet
in class javax.faces.application.Application
javax.el.ELException
public void addELContextListener(javax.el.ELContextListener elcl)
addELContextListener
in class javax.faces.application.Application
public void addELResolver(javax.el.ELResolver r)
addELResolver
in class javax.faces.application.Application
public javax.faces.component.UIComponent createComponent(javax.el.ValueExpression ve, javax.faces.context.FacesContext context, String id) throws javax.faces.FacesException
createComponent
in class javax.faces.application.Application
javax.faces.FacesException
public javax.el.ELContextListener[] getELContextListeners()
getELContextListeners
in class javax.faces.application.Application
public javax.el.ELResolver getELResolver()
getELResolver
in class javax.faces.application.Application
public ResourceBundle getResourceBundle(javax.faces.context.FacesContext context, String string)
getResourceBundle
in class javax.faces.application.Application
public void removeELContextListener(javax.el.ELContextListener elcl)
removeELContextListener
in class javax.faces.application.Application
public javax.faces.event.ActionListener getActionListener()
getActionListener
in class javax.faces.application.Application
public void setActionListener(javax.faces.event.ActionListener listener)
setActionListener
in class javax.faces.application.Application
public Locale getDefaultLocale()
getDefaultLocale
in class javax.faces.application.Application
public void setDefaultLocale(Locale locale)
setDefaultLocale
in class javax.faces.application.Application
public String getDefaultRenderKitId()
getDefaultRenderKitId
in class javax.faces.application.Application
public void setDefaultRenderKitId(String rk)
setDefaultRenderKitId
in class javax.faces.application.Application
public String getMessageBundle()
getMessageBundle
in class javax.faces.application.Application
public void setMessageBundle(String bundleName)
setMessageBundle
in class javax.faces.application.Application
public javax.faces.application.NavigationHandler getNavigationHandler()
getNavigationHandler
in class javax.faces.application.Application
public void setNavigationHandler(javax.faces.application.NavigationHandler navigationHandler)
setNavigationHandler
in class javax.faces.application.Application
public javax.faces.el.PropertyResolver getPropertyResolver()
getPropertyResolver
in class javax.faces.application.Application
public void setPropertyResolver(javax.faces.el.PropertyResolver pr)
setPropertyResolver
in class javax.faces.application.Application
public javax.faces.el.VariableResolver getVariableResolver()
getVariableResolver
in class javax.faces.application.Application
public void setVariableResolver(javax.faces.el.VariableResolver variableResolver)
setVariableResolver
in class javax.faces.application.Application
public javax.faces.application.ViewHandler getViewHandler()
getViewHandler
in class javax.faces.application.Application
public void setViewHandler(javax.faces.application.ViewHandler viewHandler)
setViewHandler
in class javax.faces.application.Application
public javax.faces.application.StateManager getStateManager()
getStateManager
in class javax.faces.application.Application
public void setStateManager(javax.faces.application.StateManager stateManager)
setStateManager
in class javax.faces.application.Application
public void addComponent(String name, String x)
addComponent
in class javax.faces.application.Application
public javax.faces.component.UIComponent createComponent(String name) throws javax.faces.FacesException
createComponent
in class javax.faces.application.Application
javax.faces.FacesException
public javax.faces.component.UIComponent createComponent(javax.faces.context.FacesContext context, String componentType, String rendererType)
createComponent
in class javax.faces.application.Application
public javax.faces.component.UIComponent createComponent(javax.faces.el.ValueBinding vb, javax.faces.context.FacesContext fc, String x) throws javax.faces.FacesException
createComponent
in class javax.faces.application.Application
javax.faces.FacesException
public Iterator getComponentTypes()
getComponentTypes
in class javax.faces.application.Application
public void addConverter(String id, String converterClass)
addConverter
in class javax.faces.application.Application
public void addConverter(Class type, String converterClass)
addConverter
in class javax.faces.application.Application
public javax.faces.convert.Converter createConverter(String id)
createConverter
in class javax.faces.application.Application
public javax.faces.convert.Converter createConverter(Class clazz)
createConverter
in class javax.faces.application.Application
public Iterator getConverterIds()
getConverterIds
in class javax.faces.application.Application
public Iterator getConverterTypes()
getConverterTypes
in class javax.faces.application.Application
public javax.faces.el.MethodBinding createMethodBinding(String expression, Class[] params) throws javax.faces.el.ReferenceSyntaxException
createMethodBinding
in class javax.faces.application.Application
javax.faces.el.ReferenceSyntaxException
public javax.faces.el.ValueBinding createValueBinding(String expression) throws javax.faces.el.ReferenceSyntaxException
createValueBinding
in class javax.faces.application.Application
javax.faces.el.ReferenceSyntaxException
public Iterator getSupportedLocales()
getSupportedLocales
in class javax.faces.application.Application
public void setSupportedLocales(Collection locales)
setSupportedLocales
in class javax.faces.application.Application
public void addValidator(String id, String validatorClass)
addValidator
in class javax.faces.application.Application
public javax.faces.validator.Validator createValidator(String id) throws javax.faces.FacesException
createValidator
in class javax.faces.application.Application
javax.faces.FacesException
public Iterator getValidatorIds()
getValidatorIds
in class javax.faces.application.Application
public javax.el.ExpressionFactory getExpressionFactory()
getExpressionFactory
in class javax.faces.application.Application
Copyright © 2015 Seam Framework. All Rights Reserved.