|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.application.Application
org.apache.myfaces.test.mock.MockApplication
public class MockApplication
Mock implementation of Application.
| Constructor Summary | |
|---|---|
MockApplication()
Construct a default instance. |
|
| Method Summary | |
|---|---|
void |
addComponent(String componentType,
String componentClass)
|
void |
addConverter(Class targetClass,
String converterClass)
|
void |
addConverter(String converterId,
String converterClass)
|
void |
addValidator(String validatorId,
String validatorClass)
|
javax.faces.component.UIComponent |
createComponent(String componentType)
|
javax.faces.component.UIComponent |
createComponent(javax.faces.el.ValueBinding componentBinding,
javax.faces.context.FacesContext context,
String componentType)
|
javax.faces.convert.Converter |
createConverter(Class targetClass)
|
javax.faces.convert.Converter |
createConverter(String converterId)
|
javax.faces.el.MethodBinding |
createMethodBinding(String ref,
Class[] params)
|
javax.faces.validator.Validator |
createValidator(String validatorId)
|
javax.faces.el.ValueBinding |
createValueBinding(String ref)
|
javax.faces.event.ActionListener |
getActionListener()
|
Iterator |
getComponentTypes()
|
Iterator |
getConverterIds()
|
Iterator |
getConverterTypes()
|
Locale |
getDefaultLocale()
|
String |
getDefaultRenderKitId()
|
String |
getMessageBundle()
|
javax.faces.application.NavigationHandler |
getNavigationHandler()
|
javax.faces.el.PropertyResolver |
getPropertyResolver()
|
javax.faces.application.StateManager |
getStateManager()
|
Iterator |
getSupportedLocales()
|
Iterator |
getValidatorIds()
|
javax.faces.el.VariableResolver |
getVariableResolver()
|
javax.faces.application.ViewHandler |
getViewHandler()
|
void |
setActionListener(javax.faces.event.ActionListener actionListener)
|
void |
setDefaultLocale(Locale defaultLocale)
|
void |
setDefaultRenderKitId(String defaultRenderKitId)
|
void |
setMessageBundle(String messageBundle)
|
void |
setNavigationHandler(javax.faces.application.NavigationHandler navigationHandler)
|
void |
setPropertyResolver(javax.faces.el.PropertyResolver propertyResolver)
|
void |
setStateManager(javax.faces.application.StateManager stateManager)
|
void |
setSupportedLocales(Collection supportedLocales)
|
void |
setVariableResolver(javax.faces.el.VariableResolver variableResolver)
|
void |
setViewHandler(javax.faces.application.ViewHandler viewHandler)
|
| Methods inherited from class javax.faces.application.Application |
|---|
addELContextListener, addELResolver, createComponent, evaluateExpressionGet, getELContextListeners, getELResolver, getExpressionFactory, getResourceBundle, removeELContextListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockApplication()
Construct a default instance.
| Method Detail |
|---|
public javax.faces.event.ActionListener getActionListener()
getActionListener in class javax.faces.application.Applicationpublic void setActionListener(javax.faces.event.ActionListener actionListener)
setActionListener in class javax.faces.application.Applicationpublic Locale getDefaultLocale()
getDefaultLocale in class javax.faces.application.Applicationpublic void setDefaultLocale(Locale defaultLocale)
setDefaultLocale in class javax.faces.application.Applicationpublic String getDefaultRenderKitId()
getDefaultRenderKitId in class javax.faces.application.Applicationpublic void setDefaultRenderKitId(String defaultRenderKitId)
setDefaultRenderKitId in class javax.faces.application.Applicationpublic String getMessageBundle()
getMessageBundle in class javax.faces.application.Applicationpublic void setMessageBundle(String messageBundle)
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 propertyResolver)
setPropertyResolver 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 Iterator getSupportedLocales()
getSupportedLocales in class javax.faces.application.Applicationpublic void setSupportedLocales(Collection supportedLocales)
setSupportedLocales 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.Application
public void addComponent(String componentType,
String componentClass)
addComponent in class javax.faces.application.Applicationpublic javax.faces.component.UIComponent createComponent(String componentType)
createComponent in class javax.faces.application.Application
public javax.faces.component.UIComponent createComponent(javax.faces.el.ValueBinding componentBinding,
javax.faces.context.FacesContext context,
String componentType)
throws javax.faces.FacesException
createComponent in class javax.faces.application.Applicationjavax.faces.FacesExceptionpublic Iterator getComponentTypes()
getComponentTypes in class javax.faces.application.Application
public void addConverter(String converterId,
String converterClass)
addConverter in class javax.faces.application.Application
public void addConverter(Class targetClass,
String converterClass)
addConverter in class javax.faces.application.Applicationpublic javax.faces.convert.Converter createConverter(String converterId)
createConverter in class javax.faces.application.Applicationpublic javax.faces.convert.Converter createConverter(Class targetClass)
createConverter in class javax.faces.application.Applicationpublic Iterator getConverterIds()
getConverterIds in class javax.faces.application.Applicationpublic Iterator getConverterTypes()
getConverterTypes in class javax.faces.application.Application
public javax.faces.el.MethodBinding createMethodBinding(String ref,
Class[] params)
createMethodBinding in class javax.faces.application.Applicationpublic javax.faces.el.ValueBinding createValueBinding(String ref)
createValueBinding in class javax.faces.application.Application
public void addValidator(String validatorId,
String validatorClass)
addValidator in class javax.faces.application.Applicationpublic javax.faces.validator.Validator createValidator(String validatorId)
createValidator in class javax.faces.application.Applicationpublic Iterator getValidatorIds()
getValidatorIds in class javax.faces.application.Application
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||