1 16 package org.apache.myfaces.config.impl.digester.elements; 17 18 import java.util.List ; 19 import java.util.ArrayList ; 20 21 22 25 public class Application 26 { 27 28 private List actionListener = new ArrayList (); 29 private List defaultRenderkitId = new ArrayList (); 30 private List messageBundle = new ArrayList (); 31 private List navigationHandler = new ArrayList (); 32 private List viewHandler = new ArrayList (); 33 private List stateManager = new ArrayList (); 34 private List propertyResolver = new ArrayList (); 35 private List variableResolver = new ArrayList (); 36 private List localeConfig = new ArrayList (); 37 38 39 public void addActionListener(String listener) 40 { 41 actionListener.add(listener); 42 } 43 44 45 public void addDefaultRenderkitId(String id) 46 { 47 defaultRenderkitId.add(id); 48 } 49 50 51 public void addMessageBundle(String bundle) 52 { 53 messageBundle.add(bundle); 54 } 55 56 57 public void addNavigationHandler(String handler) 58 { 59 navigationHandler.add(handler); 60 } 61 62 63 public void addStateManager(String manager) 64 { 65 stateManager.add(manager); 66 } 67 68 69 public void addPropertyResolver(String resolver) 70 { 71 propertyResolver.add(resolver); 72 } 73 74 75 public void addVariableResolver(String handler) 76 { 77 variableResolver.add(handler); 78 } 79 80 81 public void addLocaleConfig(LocaleConfig config) 82 { 83 localeConfig.add(config); 84 } 85 86 87 public void addViewHandler(String handler) 88 { 89 viewHandler.add(handler); 90 } 91 92 93 public List getActionListener() 94 { 95 return actionListener; 96 } 97 98 99 public List getDefaultRenderkitId() 100 { 101 return defaultRenderkitId; 102 } 103 104 105 public List getMessageBundle() 106 { 107 return messageBundle; 108 } 109 110 111 public List getNavigationHandler() 112 { 113 return navigationHandler; 114 } 115 116 117 public List getViewHandler() 118 { 119 return viewHandler; 120 } 121 122 123 public List getStateManager() 124 { 125 return stateManager; 126 } 127 128 129 public List getPropertyResolver() 130 { 131 return propertyResolver; 132 } 133 134 135 public List getVariableResolver() 136 { 137 return variableResolver; 138 } 139 140 141 public List getLocaleConfig() 142 { 143 return localeConfig; 144 } 145 } 146 | Popular Tags |