1 /*2 * Copyright (c) 2001, 2002 The XDoclet team3 * All rights reserved.4 */5 package xdoclet.modules.web;6 7 import org.apache.tools.ant.BuildException;8 9 import xdoclet.DocletTask;10 11 /**12 * This task executes various web-specific sub-tasks. Make sure to include the jar file containing Sun's javax.servlet.*13 * classes on the taskdef's classpath.14 *15 * @author Ara Abrahamian (ara_e@email.com)16 * @created July 2, 200117 * @ant.element name="webdoclet" display-name="Web Task"18 * @version $Revision: 1.5 $19 */20 public class WebDocletTask extends DocletTask21 {22 protected void validateOptions() throws BuildException23 {24 super.validateOptions();25 checkClass("javax.servlet.Servlet");26 }27 }28