"'text', 'xml', or 'emacs' for task <"
"'text', 'xml', 'xdocs' or 'emacs' for task <"
	private void checkParameters() {		if ( homeDir == null && (classpath == null || pluginList == null) ) {			throw new BuildException( "either home attribute or " +									  "classpath and pluginList attributes " +									  " must be defined for task <"										+ getTaskName() + "/>",									  getLocation() );		}		if (pluginList != null) {			// Make sure that all plugins are actually Jar files.			String[] pluginFileList = pluginList.list();			for (int i = 0; i < pluginFileList.length; ++i) {				String pluginFile = pluginFileList[i];				if (!pluginFile.endsWith(".jar")) {					throw new BuildException("plugin file " + pluginFile + " is not a Jar file " +											"in task <" + getTaskName() + "/>",											getLocation());				}			}		}		if ( projectFile == null && classLocations.size() == 0 ) {			throw new BuildException( "either projectfile or <class/> child " +									  "elements must be defined for task <"										+ getTaskName() + "/>",									  getLocation() );		} 		if ( outputFormat != null  && 			!( outputFormat.trim().equalsIgnoreCase("xml" ) || 			   outputFormat.trim().equalsIgnoreCase("text" ) ||			   outputFormat.trim().equalsIgnoreCase("emacs") ) ) { 			throw new BuildException( "output attribute must be either " +  									  "'text', 'xml', or 'emacs' for task <"										+ getTaskName() + "/>",									  getLocation() );		}			if ( reportLevel != null  && 			!( reportLevel.trim().equalsIgnoreCase("low" ) || 			   reportLevel.trim().equalsIgnoreCase("medium" ) ||			   reportLevel.trim().equalsIgnoreCase("high" ) ) ) { 			throw new BuildException( "reportlevel attribute must be either " +  									  "'low' or 'medium' or 'high' for task <" + 										getTaskName() + "/>",									  getLocation() );		}		if ( excludeFile != null && includeFile != null ) {			throw new BuildException("only one of excludeFile and includeFile " +				" attributes may be used in task <" + getTaskName() + "/>",				getLocation());		}		for (Iterator i = systemPropertyList.iterator(); i.hasNext(); ) {			SystemProperty systemProperty = (SystemProperty) i.next();			if (systemProperty.getName() == null || systemProperty.getValue() == null)				throw new BuildException("systemProperty elements must have name and value attributes");		}    } 