|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.application.Application org.apache.shale.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.Application
public void setActionListener(javax.faces.event.ActionListener actionListener)
setActionListener
in class javax.faces.application.Application
public Locale getDefaultLocale()
getDefaultLocale
in class javax.faces.application.Application
public void setDefaultLocale(Locale defaultLocale)
setDefaultLocale
in class javax.faces.application.Application
public String getDefaultRenderKitId()
getDefaultRenderKitId
in class javax.faces.application.Application
public void setDefaultRenderKitId(String defaultRenderKitId)
setDefaultRenderKitId
in class javax.faces.application.Application
public String getMessageBundle()
getMessageBundle
in class javax.faces.application.Application
public void setMessageBundle(String messageBundle)
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 propertyResolver)
setPropertyResolver
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 Iterator getSupportedLocales()
getSupportedLocales
in class javax.faces.application.Application
public void setSupportedLocales(Collection supportedLocales)
setSupportedLocales
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 void addComponent(String componentType, String componentClass)
addComponent
in class javax.faces.application.Application
public 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.Application
javax.faces.FacesException
public 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.Application
public javax.faces.convert.Converter createConverter(String converterId)
createConverter
in class javax.faces.application.Application
public javax.faces.convert.Converter createConverter(Class targetClass)
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 ref, Class[] params)
createMethodBinding
in class javax.faces.application.Application
public 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.Application
public javax.faces.validator.Validator createValidator(String validatorId)
createValidator
in class javax.faces.application.Application
public 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 |