Keel 2.1RC2

org.keel.faces.application
Class ApplicationImpl

java.lang.Object
  extended byApplication
      extended byorg.keel.faces.application.ApplicationImpl

public class ApplicationImpl
extends Application

Author:
Michael Nash
See Also:
Serialized Form

Field Summary
private  java.util.Map components
           
private  java.util.Map converters
           
private  java.util.Locale defaultLocale
           
private  java.lang.String messageBundle
           
private  ActionListener myActionListener
           
private  NavigationHandler myNavHandler
           
private  PropertyResolver myPropertyResolver
           
private  VariableResolver myVariableResolver
           
private  ViewHandler myViewHandler
           
private  java.util.Collection supportedLocales
           
private  java.util.Map validators
           
 
Constructor Summary
ApplicationImpl()
           
 
Method Summary
 void addComponent(java.lang.String componentType, java.lang.String componentClass)
           
 void addConverter(java.lang.Class c, java.lang.String s)
           
 void addConverter(java.lang.String converterId, java.lang.String converterClass)
           
 void addValidator(java.lang.String validatorId, java.lang.String validatorClass)
           
 UIComponent createComponent(java.lang.String name)
           
 UIComponent createComponent(ValueBinding vb, FacesContext fc, java.lang.String componentType)
           
 Converter createConverter(java.lang.Class arg)
           
 Converter createConverter(java.lang.String s)
           
 Converter createConvertor(java.lang.String name)
           
 MethodBinding createMethodBinding(java.lang.String arg, java.lang.Class[] args)
           
 Validator createValidator(java.lang.String name)
           
 ValueBinding createValueBinding(java.lang.String arg)
           
 ActionListener getActionListener()
           
 UIComponent getComponent(java.lang.String componentType)
           
 java.util.Iterator getComponentTypes()
           
 Converter getConverter(java.lang.String converterId)
           
 java.util.Iterator getConverterIds()
           
 java.util.Iterator getConverterTypes()
           
 java.util.Locale getDefaultLocale()
           
 java.lang.String getMessageBundle()
           
 NavigationHandler getNavigationHandler()
           
 PropertyResolver getPropertyResolver()
           
 java.util.Iterator getSupportedLocales()
           
 Validator getValidator(java.lang.String validatorId)
           
 java.util.Iterator getValidatorIds()
           
 VariableResolver getVariableResolver()
           
 ViewHandler getViewHandler()
           
 void setActionListener(ActionListener actionListener)
           
 void setDefaultLocale(java.util.Locale l)
           
 void setMessageBundle(java.lang.String s)
           
 void setNavigationHandler(NavigationHandler navigationHandler)
           
 void setPropertyResolver(PropertyResolver propertyResolver)
           
 void setSupportedLocales(java.util.Collection c)
           
 void setVariableResolver(VariableResolver variableResolver)
           
 void setViewHandler(ViewHandler newViewHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myNavHandler

private NavigationHandler myNavHandler

myPropertyResolver

private PropertyResolver myPropertyResolver

myVariableResolver

private VariableResolver myVariableResolver

myActionListener

private ActionListener myActionListener

myViewHandler

private ViewHandler myViewHandler

converters

private java.util.Map converters

defaultLocale

private java.util.Locale defaultLocale

supportedLocales

private java.util.Collection supportedLocales

messageBundle

private java.lang.String messageBundle

components

private java.util.Map components

validators

private java.util.Map validators
Constructor Detail

ApplicationImpl

public ApplicationImpl()
Method Detail

setSupportedLocales

public void setSupportedLocales(java.util.Collection c)

getSupportedLocales

public java.util.Iterator getSupportedLocales()

createValueBinding

public ValueBinding createValueBinding(java.lang.String arg)
                                throws ReferenceSyntaxException
Throws:
ReferenceSyntaxException

getMessageBundle

public java.lang.String getMessageBundle()

setMessageBundle

public void setMessageBundle(java.lang.String s)

setDefaultLocale

public void setDefaultLocale(java.util.Locale l)

getDefaultLocale

public java.util.Locale getDefaultLocale()

createValidator

public Validator createValidator(java.lang.String name)

createConverter

public Converter createConverter(java.lang.Class arg)

createConverter

public Converter createConverter(java.lang.String s)

createComponent

public UIComponent createComponent(java.lang.String name)

getViewHandler

public ViewHandler getViewHandler()

addConverter

public void addConverter(java.lang.Class c,
                         java.lang.String s)

createConvertor

public Converter createConvertor(java.lang.String name)

setViewHandler

public void setViewHandler(ViewHandler newViewHandler)

getConverterTypes

public java.util.Iterator getConverterTypes()

createComponent

public UIComponent createComponent(ValueBinding vb,
                                   FacesContext fc,
                                   java.lang.String componentType)

getActionListener

public ActionListener getActionListener()

setActionListener

public void setActionListener(ActionListener actionListener)

getNavigationHandler

public NavigationHandler getNavigationHandler()

setNavigationHandler

public void setNavigationHandler(NavigationHandler navigationHandler)

getPropertyResolver

public PropertyResolver getPropertyResolver()

setPropertyResolver

public void setPropertyResolver(PropertyResolver propertyResolver)

getVariableResolver

public VariableResolver getVariableResolver()

setVariableResolver

public void setVariableResolver(VariableResolver variableResolver)

addConverter

public void addConverter(java.lang.String converterId,
                         java.lang.String converterClass)

getConverter

public Converter getConverter(java.lang.String converterId)
                       throws FacesException
Throws:
FacesException

getConverterIds

public java.util.Iterator getConverterIds()

addComponent

public void addComponent(java.lang.String componentType,
                         java.lang.String componentClass)

getComponent

public UIComponent getComponent(java.lang.String componentType)
                         throws FacesException
Throws:
FacesException

getComponentTypes

public java.util.Iterator getComponentTypes()

addValidator

public void addValidator(java.lang.String validatorId,
                         java.lang.String validatorClass)

getValidator

public Validator getValidator(java.lang.String validatorId)
                       throws FacesException
Throws:
FacesException

getValidatorIds

public java.util.Iterator getValidatorIds()

createMethodBinding

public MethodBinding createMethodBinding(java.lang.String arg,
                                         java.lang.Class[] args)
                                  throws ReferenceSyntaxException
Throws:
ReferenceSyntaxException

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.