1 18 19 20 package org.apache.struts.config; 21 22 23 import javax.sql.DataSource ; 24 25 import org.apache.struts.action.ActionForm; 26 import org.apache.struts.action.ActionFormBean; 27 import org.apache.struts.action.ActionForward; 28 import org.apache.struts.action.ActionMapping; 29 import org.apache.struts.action.ActionMessages; 30 import org.apache.struts.upload.MultipartRequestWrapper; 31 import org.apache.struts.util.MessageResources; 32 33 34 60 public interface ConfigHelperInterface { 61 62 63 65 public DataSource getDataSource(); 66 67 71 public ActionMessages getActionMessages(); 72 73 76 public MessageResources getMessageResources(); 77 78 83 public String getServletMapping(); 84 85 86 88 91 public String getToken(); 92 93 94 96 97 102 public Throwable getException(); 103 104 105 108 public MultipartRequestWrapper getMultipartRequestWrapper(); 109 110 111 115 public ActionMapping getMapping(); 116 117 118 119 121 127 public boolean isMessage(String key); 128 129 130 131 137 public ActionForm getActionForm(); 138 139 140 141 147 public ActionFormBean getFormBean(String name); 148 149 150 151 157 public ActionForward getActionForward(String name); 158 159 160 161 167 public ActionMapping getActionMapping(String path); 168 169 170 171 183 public String getActionMappingName(String action); 184 185 186 187 190 public String getActionMappingURL(String action); 191 192 193 194 197 public String getEncodeURL(String url); 198 199 200 201 203 204 207 public String getOrigRef(); 208 209 210 211 214 public String getBaseRef(); 215 216 217 218 224 public String getLink(String name); 225 226 227 233 public String getMessage(String key); 234 235 236 242 public String getMessage(String key, Object args[]); 243 244 245 251 public String getAction(String path); 252 253 254 } 255 | Popular Tags |