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, unsubscribeFromEventpublic void publishEvent(javax.faces.context.FacesContext context,
Class<? extends javax.faces.event.SystemEvent> systemEventClass,
Object source)
publishEvent in class javax.faces.application.Applicationpublic void publishEvent(javax.faces.context.FacesContext context,
Class<? extends javax.faces.event.SystemEvent> systemEventClass,
Class<?> sourceBaseType,
Object source)
publishEvent in class javax.faces.application.Applicationpublic Object evaluateExpressionGet(javax.faces.context.FacesContext context, String expression, Class type) throws javax.el.ELException
evaluateExpressionGet in class javax.faces.application.Applicationjavax.el.ELExceptionpublic void addELContextListener(javax.el.ELContextListener elcl)
addELContextListener in class javax.faces.application.Applicationpublic void addELResolver(javax.el.ELResolver r)
addELResolver in class javax.faces.application.Applicationpublic 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.Applicationjavax.faces.FacesExceptionpublic javax.el.ELContextListener[] getELContextListeners()
getELContextListeners in class javax.faces.application.Applicationpublic javax.el.ELResolver getELResolver()
getELResolver in class javax.faces.application.Applicationpublic ResourceBundle getResourceBundle(javax.faces.context.FacesContext context, String string)
getResourceBundle in class javax.faces.application.Applicationpublic void removeELContextListener(javax.el.ELContextListener elcl)
removeELContextListener in class javax.faces.application.Applicationpublic javax.faces.event.ActionListener getActionListener()
getActionListener in class javax.faces.application.Applicationpublic void setActionListener(javax.faces.event.ActionListener listener)
setActionListener in class javax.faces.application.Applicationpublic Locale getDefaultLocale()
getDefaultLocale in class javax.faces.application.Applicationpublic void setDefaultLocale(Locale locale)
setDefaultLocale in class javax.faces.application.Applicationpublic String getDefaultRenderKitId()
getDefaultRenderKitId in class javax.faces.application.Applicationpublic void setDefaultRenderKitId(String rk)
setDefaultRenderKitId in class javax.faces.application.Applicationpublic String getMessageBundle()
getMessageBundle in class javax.faces.application.Applicationpublic void setMessageBundle(String bundleName)
setMessageBundle in class javax.faces.application.Applicationpublic javax.faces.application.NavigationHandler getNavigationHandler()
getNavigationHandler in class javax.faces.application.Applicationpublic void setNavigationHandler(javax.faces.application.NavigationHandler navigationHandler)
setNavigationHandler in class javax.faces.application.Applicationpublic javax.faces.el.PropertyResolver getPropertyResolver()
getPropertyResolver in class javax.faces.application.Applicationpublic void setPropertyResolver(javax.faces.el.PropertyResolver pr)
setPropertyResolver in class javax.faces.application.Applicationpublic javax.faces.el.VariableResolver getVariableResolver()
getVariableResolver in class javax.faces.application.Applicationpublic void setVariableResolver(javax.faces.el.VariableResolver variableResolver)
setVariableResolver in class javax.faces.application.Applicationpublic javax.faces.application.ViewHandler getViewHandler()
getViewHandler in class javax.faces.application.Applicationpublic void setViewHandler(javax.faces.application.ViewHandler viewHandler)
setViewHandler in class javax.faces.application.Applicationpublic javax.faces.application.StateManager getStateManager()
getStateManager in class javax.faces.application.Applicationpublic void setStateManager(javax.faces.application.StateManager stateManager)
setStateManager in class javax.faces.application.Applicationpublic void addComponent(String name, String x)
addComponent in class javax.faces.application.Applicationpublic javax.faces.component.UIComponent createComponent(String name) throws javax.faces.FacesException
createComponent in class javax.faces.application.Applicationjavax.faces.FacesExceptionpublic javax.faces.component.UIComponent createComponent(javax.faces.context.FacesContext context,
String componentType,
String rendererType)
createComponent in class javax.faces.application.Applicationpublic 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.Applicationjavax.faces.FacesExceptionpublic Iterator getComponentTypes()
getComponentTypes in class javax.faces.application.Applicationpublic void addConverter(String id, String converterClass)
addConverter in class javax.faces.application.Applicationpublic void addConverter(Class type, String converterClass)
addConverter in class javax.faces.application.Applicationpublic javax.faces.convert.Converter createConverter(String id)
createConverter in class javax.faces.application.Applicationpublic javax.faces.convert.Converter createConverter(Class clazz)
createConverter in class javax.faces.application.Applicationpublic Iterator getConverterIds()
getConverterIds in class javax.faces.application.Applicationpublic Iterator getConverterTypes()
getConverterTypes in class javax.faces.application.Applicationpublic javax.faces.el.MethodBinding createMethodBinding(String expression, Class[] params) throws javax.faces.el.ReferenceSyntaxException
createMethodBinding in class javax.faces.application.Applicationjavax.faces.el.ReferenceSyntaxExceptionpublic javax.faces.el.ValueBinding createValueBinding(String expression) throws javax.faces.el.ReferenceSyntaxException
createValueBinding in class javax.faces.application.Applicationjavax.faces.el.ReferenceSyntaxExceptionpublic Iterator getSupportedLocales()
getSupportedLocales in class javax.faces.application.Applicationpublic void setSupportedLocales(Collection locales)
setSupportedLocales in class javax.faces.application.Applicationpublic void addValidator(String id, String validatorClass)
addValidator in class javax.faces.application.Applicationpublic javax.faces.validator.Validator createValidator(String id) throws javax.faces.FacesException
createValidator in class javax.faces.application.Applicationjavax.faces.FacesExceptionpublic Iterator getValidatorIds()
getValidatorIds in class javax.faces.application.Applicationpublic javax.el.ExpressionFactory getExpressionFactory()
getExpressionFactory in class javax.faces.application.ApplicationCopyright © 2015 Seam Framework. All Rights Reserved.