|
||||||||||
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 org.apache.shale.test.mock.MockApplication12
public class MockApplication12
Mock implementation of ExternalContext
that includes the semantics
added by JavaServer Faces 1.2.
Constructor Summary | |
---|---|
MockApplication12()
Construct a default instance. |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockApplication12()
Construct a default instance.
Method Detail |
---|
public 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 addELContextListener(javax.el.ELContextListener listener)
addELContextListener
in class javax.faces.application.Application
public void addELResolver(javax.el.ELResolver resolver)
addELResolver
in class javax.faces.application.Application
public javax.faces.component.UIComponent createComponent(javax.el.ValueExpression expression, javax.faces.context.FacesContext context, String componentType)
createComponent
in class javax.faces.application.Application
public Object evaluateExpressionGet(javax.faces.context.FacesContext context, String expression, Class expectedType) throws javax.el.ELException
evaluateExpressionGet
in class javax.faces.application.Application
javax.el.ELException
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 javax.el.ExpressionFactory getExpressionFactory()
getExpressionFactory
in class javax.faces.application.Application
public ResourceBundle getResourceBundle(javax.faces.context.FacesContext context, String name)
getResourceBundle
in class javax.faces.application.Application
public void removeELContextListener(javax.el.ELContextListener listener)
removeELContextListener
in class javax.faces.application.Application
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |