public class MockApplication12 extends MockApplication
Mock implementation of Application that includes the semantics
added by JavaServer Faces 1.2.
| Constructor and Description |
|---|
MockApplication12()
Construct a default instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addELContextListener(javax.el.ELContextListener listener) |
void |
addELResolver(javax.el.ELResolver resolver) |
void |
addResourceBundle(String name,
ResourceBundle bundle)
Add the specified resource bundle to those associated with
this application.
|
javax.faces.component.UIComponent |
createComponent(javax.el.ValueExpression expression,
javax.faces.context.FacesContext context,
String componentType) |
Object |
evaluateExpressionGet(javax.faces.context.FacesContext context,
String expression,
Class expectedType) |
javax.el.ELContextListener[] |
getELContextListeners() |
javax.el.ELResolver |
getELResolver() |
javax.el.ExpressionFactory |
getExpressionFactory() |
ResourceBundle |
getResourceBundle(javax.faces.context.FacesContext context,
String name) |
Map |
getResourceBundles()
Return a
Map of the resource bundles configured
for this application, keyed by name. |
void |
removeELContextListener(javax.el.ELContextListener listener) |
void |
setExpressionFactory(javax.el.ExpressionFactory expressionFactory)
Set the current ExpressionFactory to be returned by this mock object
|
addComponent, addConverter, addConverter, addValidator, createComponent, createComponent, createConverter, createConverter, createMethodBinding, createValidator, createValueBinding, getActionListener, getComponentTypes, getConverterIds, getConverterTypes, getDefaultLocale, getDefaultRenderKitId, getMessageBundle, getNavigationHandler, getPropertyResolver, getStateManager, getSupportedLocales, getValidatorIds, getVariableResolver, getViewHandler, setActionListener, setDefaultLocale, setDefaultRenderKitId, setMessageBundle, setNavigationHandler, setPropertyResolver, setStateManager, setSupportedLocales, setVariableResolver, setViewHandleraddBehavior, addDefaultValidatorId, createBehavior, createComponent, createComponent, createComponent, getBehaviorIds, getDefaultValidatorInfo, getFlowHandler, getProjectStage, getResourceHandler, publishEvent, publishEvent, setFlowHandler, setResourceHandler, subscribeToEvent, subscribeToEvent, unsubscribeFromEvent, unsubscribeFromEventpublic void addResourceBundle(String name, ResourceBundle bundle)
Add the specified resource bundle to those associated with this application.
name - Name under which to add this resource bundlebundle - ResourceBundle to addpublic Map getResourceBundles()
Return a Map of the resource bundles configured
for this application, keyed by name.
public void setExpressionFactory(javax.el.ExpressionFactory expressionFactory)
expressionFactory - public void addELContextListener(javax.el.ELContextListener listener)
addELContextListener in class javax.faces.application.Applicationpublic void addELResolver(javax.el.ELResolver resolver)
addELResolver in class javax.faces.application.Applicationpublic javax.faces.component.UIComponent createComponent(javax.el.ValueExpression expression,
javax.faces.context.FacesContext context,
String componentType)
createComponent in class javax.faces.application.Applicationpublic Object evaluateExpressionGet(javax.faces.context.FacesContext context, String expression, Class expectedType) throws javax.el.ELException
evaluateExpressionGet in class javax.faces.application.Applicationjavax.el.ELExceptionpublic javax.el.ELContextListener[] getELContextListeners()
getELContextListeners in class javax.faces.application.Applicationpublic javax.el.ELResolver getELResolver()
getELResolver in class javax.faces.application.Applicationpublic javax.el.ExpressionFactory getExpressionFactory()
getExpressionFactory in class javax.faces.application.Applicationpublic ResourceBundle getResourceBundle(javax.faces.context.FacesContext context, String name)
getResourceBundle in class javax.faces.application.Applicationpublic void removeELContextListener(javax.el.ELContextListener listener)
removeELContextListener in class javax.faces.application.ApplicationCopyright © 2017 The Apache Software Foundation. All rights reserved.