站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.2.0 patch1 API 英文版文档

MockApplication (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档


org.jboss.seam.mock
Class MockApplication

java.lang.Object
  extended by javax.faces.application.Application
      extended by org.jboss.seam.mock.MockApplication

public class MockApplication
extends javax.faces.application.Application


Constructor Summary
MockApplication()
           
 
Method Summary
 void addComponent(String name, String x)
           
 void addConverter(Class type, String converterClass)
           
 void addConverter(String id, String converterClass)
           
 void addValidator(String id, String validator)
           
 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.convert.Converter createConverter(Class clazz)
           
 javax.faces.convert.Converter createConverter(String id)
           
 javax.faces.el.MethodBinding createMethodBinding(String methodExpression, Class[] args)
           
 javax.faces.validator.Validator createValidator(String id)
           
 javax.faces.el.ValueBinding createValueBinding(String valueExpression)
           
 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 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockApplication

public MockApplication()
Method Detail

getActionListener

public javax.faces.event.ActionListener getActionListener()
Specified by:
getActionListener in class javax.faces.application.Application

setActionListener

public void setActionListener(javax.faces.event.ActionListener listener)
Specified by:
setActionListener in class javax.faces.application.Application

getDefaultLocale

public Locale getDefaultLocale()
Specified by:
getDefaultLocale in class javax.faces.application.Application

setDefaultLocale

public void setDefaultLocale(Locale locale)
Specified by:
setDefaultLocale in class javax.faces.application.Application

getDefaultRenderKitId

public String getDefaultRenderKitId()
Specified by:
getDefaultRenderKitId in class javax.faces.application.Application

setDefaultRenderKitId

public void setDefaultRenderKitId(String rk)
Specified by:
setDefaultRenderKitId in class javax.faces.application.Application

getMessageBundle

public String getMessageBundle()
Specified by:
getMessageBundle in class javax.faces.application.Application

setMessageBundle

public void setMessageBundle(String bundleName)
Specified by:
setMessageBundle in class javax.faces.application.Application

getNavigationHandler

public javax.faces.application.NavigationHandler getNavigationHandler()
Specified by:
getNavigationHandler in class javax.faces.application.Application

setNavigationHandler

public void setNavigationHandler(javax.faces.application.NavigationHandler navigationHandler)
Specified by:
setNavigationHandler in class javax.faces.application.Application

getPropertyResolver

public javax.faces.el.PropertyResolver getPropertyResolver()
Specified by:
getPropertyResolver in class javax.faces.application.Application

setPropertyResolver

public void setPropertyResolver(javax.faces.el.PropertyResolver pr)
Specified by:
setPropertyResolver in class javax.faces.application.Application

getVariableResolver

public javax.faces.el.VariableResolver getVariableResolver()
Specified by:
getVariableResolver in class javax.faces.application.Application

setVariableResolver

public void setVariableResolver(javax.faces.el.VariableResolver variableResolver)
Specified by:
setVariableResolver in class javax.faces.application.Application

getViewHandler

public javax.faces.application.ViewHandler getViewHandler()
Specified by:
getViewHandler in class javax.faces.application.Application

setViewHandler

public void setViewHandler(javax.faces.application.ViewHandler viewHandler)
Specified by:
setViewHandler in class javax.faces.application.Application

getStateManager

public javax.faces.application.StateManager getStateManager()
Specified by:
getStateManager in class javax.faces.application.Application

setStateManager

public void setStateManager(javax.faces.application.StateManager stateManager)
Specified by:
setStateManager in class javax.faces.application.Application

addComponent

public void addComponent(String name,
                         String x)
Specified by:
addComponent in class javax.faces.application.Application

createComponent

public javax.faces.component.UIComponent createComponent(String name)
                                                  throws javax.faces.FacesException
Specified by:
createComponent in class javax.faces.application.Application
Throws:
javax.faces.FacesException

createComponent

public javax.faces.component.UIComponent createComponent(javax.faces.el.ValueBinding vb,
                                                         javax.faces.context.FacesContext fc,
                                                         String x)
                                                  throws javax.faces.FacesException
Specified by:
createComponent in class javax.faces.application.Application
Throws:
javax.faces.FacesException

getComponentTypes

public Iterator getComponentTypes()
Specified by:
getComponentTypes in class javax.faces.application.Application

addConverter

public void addConverter(String id,
                         String converterClass)
Specified by:
addConverter in class javax.faces.application.Application

addConverter

public void addConverter(Class type,
                         String converterClass)
Specified by:
addConverter in class javax.faces.application.Application

createConverter

public javax.faces.convert.Converter createConverter(String id)
Specified by:
createConverter in class javax.faces.application.Application

createConverter

public javax.faces.convert.Converter createConverter(Class clazz)
Specified by:
createConverter in class javax.faces.application.Application

getConverterIds

public Iterator getConverterIds()
Specified by:
getConverterIds in class javax.faces.application.Application

getConverterTypes

public Iterator getConverterTypes()
Specified by:
getConverterTypes in class javax.faces.application.Application

createMethodBinding

public javax.faces.el.MethodBinding createMethodBinding(String methodExpression,
                                                        Class[] args)
                                                 throws javax.faces.el.ReferenceSyntaxException
Specified by:
createMethodBinding in class javax.faces.application.Application
Throws:
javax.faces.el.ReferenceSyntaxException

getSupportedLocales

public Iterator getSupportedLocales()
Specified by:
getSupportedLocales in class javax.faces.application.Application

setSupportedLocales

public void setSupportedLocales(Collection locales)
Specified by:
setSupportedLocales in class javax.faces.application.Application

addValidator

public void addValidator(String id,
                         String validator)
Specified by:
addValidator in class javax.faces.application.Application

createValidator

public javax.faces.validator.Validator createValidator(String id)
                                                throws javax.faces.FacesException
Specified by:
createValidator in class javax.faces.application.Application
Throws:
javax.faces.FacesException

getValidatorIds

public Iterator getValidatorIds()
Specified by:
getValidatorIds in class javax.faces.application.Application

createValueBinding

public javax.faces.el.ValueBinding createValueBinding(String valueExpression)
                                               throws javax.faces.el.ReferenceSyntaxException
Specified by:
createValueBinding in class javax.faces.application.Application
Throws:
javax.faces.el.ReferenceSyntaxException