1 16 package javax.faces.application; 17 18 import javax.faces.FacesException; 19 import javax.faces.el.ReferenceSyntaxException; 20 import java.util.Collection ; 21 import java.util.Iterator ; 22 import java.util.Locale ; 23 24 28 public abstract class Application 29 { 30 public abstract javax.faces.event.ActionListener getActionListener(); 31 32 public abstract void setActionListener(javax.faces.event.ActionListener listener); 33 34 public abstract Locale getDefaultLocale(); 35 36 public abstract void setDefaultLocale(Locale locale); 37 38 public abstract String getDefaultRenderKitId(); 39 40 public abstract void setDefaultRenderKitId(String renderKitId); 41 42 public abstract String getMessageBundle(); 43 44 public abstract void setMessageBundle(String bundle); 45 46 public abstract javax.faces.application.NavigationHandler getNavigationHandler(); 47 48 public abstract void setNavigationHandler(javax.faces.application.NavigationHandler handler); 49 50 public abstract javax.faces.el.PropertyResolver getPropertyResolver(); 51 52 public abstract void setPropertyResolver(javax.faces.el.PropertyResolver resolver); 53 54 public abstract javax.faces.el.VariableResolver getVariableResolver(); 55 56 public abstract void setVariableResolver(javax.faces.el.VariableResolver resolver); 57 58 public abstract javax.faces.application.ViewHandler getViewHandler(); 59 60 public abstract void setViewHandler(javax.faces.application.ViewHandler handler); 61 62 public abstract javax.faces.application.StateManager getStateManager(); 63 64 public abstract void setStateManager(javax.faces.application.StateManager manager); 65 66 public abstract void addComponent(String componentType, 67 String componentClass); 68 69 public abstract javax.faces.component.UIComponent createComponent(String componentType) 70 throws FacesException; 71 72 public abstract javax.faces.component.UIComponent createComponent(javax.faces.el.ValueBinding componentBinding, 73 javax.faces.context.FacesContext context, 74 String componentType) 75 throws FacesException; 76 77 public abstract Iterator getComponentTypes(); 78 79 public abstract void addConverter(String converterId, 80 String converterClass); 81 82 public abstract void addConverter(Class targetClass, 83 String converterClass); 84 85 public abstract javax.faces.convert.Converter createConverter(String converterId); 86 87 public abstract javax.faces.convert.Converter createConverter(Class targetClass); 88 89 public abstract Iterator getConverterIds(); 90 91 public abstract Iterator getConverterTypes(); 92 93 public abstract javax.faces.el.MethodBinding createMethodBinding(String ref, 94 Class [] params) 95 throws ReferenceSyntaxException; 96 97 public abstract Iterator getSupportedLocales(); 98 99 public abstract void setSupportedLocales(Collection locales); 100 101 public abstract void addValidator(String validatorId, 102 String validatorClass); 103 104 public abstract javax.faces.validator.Validator createValidator(String validatorId) 105 throws FacesException; 106 107 public abstract Iterator getValidatorIds(); 108 109 public abstract javax.faces.el.ValueBinding createValueBinding(String ref) 110 throws ReferenceSyntaxException; 111 } 112 | Popular Tags |