1 5 package xdoclet.modules.caucho; 6 7 import xdoclet.modules.web.WebXmlSubTask; 8 9 67 public class ResinWebXmlSubTask extends WebXmlSubTask 68 { 69 private static String DEFAULT_TEMPLATE_FILE = "resources/resin-web-xml.xdt"; 70 private static String DEST_FILE_NAME = "resin-web.xml"; 71 72 private String appDir = ""; 73 private String classUpdateInterval = ""; 74 private String configUpdateInterval = ""; 75 private String directoryServlet = ""; 76 private String encoding = ""; 77 private String id = ""; 78 private String lazyInit = ""; 79 private String secure = ""; 80 private String tempDir = ""; 81 private String urlRegexp = ""; 82 private String workDir = ""; 83 84 private String generateSourceComments = "true"; 85 private String searchForConfigElements = "true"; 86 private String useStandardMergeFiles = "true"; 87 88 89 public ResinWebXmlSubTask() 90 { 91 setTemplateURL(getClass().getResource(DEFAULT_TEMPLATE_FILE)); 92 setDestinationFile(DEST_FILE_NAME); 93 setPublicId(null); 94 setSystemId(null); 95 setSchema(null); 96 setDtdURL(null); 97 setValidateXML(false); 98 } 99 100 101 106 public String getAppDir() 107 { 108 return appDir; 109 } 110 111 116 public String getCharEncoding() 117 { 118 return encoding; 119 } 120 121 126 public String getClassUpdateInterval() 127 { 128 return classUpdateInterval; 129 } 130 131 136 public String getConfigUpdateInterval() 137 { 138 return configUpdateInterval; 139 } 140 141 146 public String getDirectoryServlet() 147 { 148 return directoryServlet; 149 } 150 151 157 public String getGenerateSourceComments() 158 { 159 return generateSourceComments; 160 } 161 162 167 public String getId() 168 { 169 return id; 170 } 171 172 177 public String getLazyInit() 178 { 179 return lazyInit; 180 } 181 182 188 public String getSearchForConfigElements() 189 { 190 return searchForConfigElements; 191 } 192 193 198 public String getSecure() 199 { 200 return secure; 201 } 202 203 208 public String getTempDir() 209 { 210 return tempDir; 211 } 212 213 218 public String getUrlRegexp() 219 { 220 return urlRegexp; 221 } 222 223 228 public String getUseStandardMergeFiles() 229 { 230 return useStandardMergeFiles; 231 } 232 233 238 public String getWorkDir() 239 { 240 return workDir; 241 } 242 243 public void setAppDir(String appDir) 244 { 245 this.appDir = appDir; 246 } 247 248 public void setCharEncoding(String encoding) 249 { 250 this.encoding = encoding; 251 } 252 253 public void setClassUpdateInterval(String classUpdateInterval) 254 { 255 this.classUpdateInterval = classUpdateInterval; 256 } 257 258 public void setConfigUpdateInterval(String configUpdateInterval) 259 { 260 this.configUpdateInterval = configUpdateInterval; 261 } 262 263 public void setDirectoryServlet(String directoryServlet) 264 { 265 this.directoryServlet = directoryServlet; 266 } 267 268 public void setGenerateSourceComments(String generate) 269 { 270 this.generateSourceComments = generate; 271 } 272 273 public void setId(String id) 274 { 275 this.id = id; 276 } 277 278 public void setLazyInit(String lazyInit) 279 { 280 this.lazyInit = lazyInit; 281 } 282 283 public void setSearchForConfigElements(String searchForConfigElements) 284 { 285 this.searchForConfigElements = searchForConfigElements; 286 } 287 288 public void setSecure(String secure) 289 { 290 this.secure = secure; 291 } 292 293 public void setTempDir(String tempDir) 294 { 295 this.tempDir = tempDir; 296 } 297 298 public void setUrlRegexp(String regexp) 299 { 300 this.urlRegexp = regexp; 301 } 302 303 public void setUseStandardMergeFiles(String useStandardMergeFiles) 304 { 305 this.useStandardMergeFiles = useStandardMergeFiles; 306 } 307 308 public void setWorkDir(String workDir) 309 { 310 this.workDir = workDir; 311 } 312 } 313 | Popular Tags |