org.apache.tools.ant.taskdefs

Class Javadoc.TagArgument

Enclosing Class:
Javadoc
Implemented Interfaces:
Cloneable, ResourceCollection, SelectorContainer

public class Javadoc.TagArgument
extends FileSet

Class representing a -tag argument.

Field Summary

Fields inherited from class org.apache.tools.ant.types.DataType

checked, ref

Fields inherited from class org.apache.tools.ant.ProjectComponent

description, location, project

Constructor Summary

TagArgument()
Sole constructor.

Method Summary

String
getParameter()
Returns the -tag parameter this argument represented.
void
setEnabled(boolean enabled)
Sets whether or not the tag is enabled.
void
setName(String name)
Sets the name of the tag.
void
setScope(String verboseScope)
Sets the scope of the tag.

Methods inherited from class org.apache.tools.ant.types.FileSet

clone, isFilesystemOnly, iterator, size

Methods inherited from class org.apache.tools.ant.types.AbstractFileSet

add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendExcludes, appendIncludes, appendSelector, clone, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDefaultexcludes, getDir, getDir, getDirectoryScanner, getDirectoryScanner, getRef, getSelectors, hasPatterns, hasSelectors, isCaseSensitive, isFollowSymlinks, mergeExcludes, mergeIncludes, mergePatterns, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setDir, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setRefid, setupDirectoryScanner, setupDirectoryScanner, toString

Methods inherited from class org.apache.tools.ant.types.DataType

checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, setRefid, toString, tooManyAttributes

Methods inherited from class org.apache.tools.ant.ProjectComponent

clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject

Constructor Details

TagArgument

public TagArgument()
Sole constructor.

Method Details

getParameter

public String getParameter()
            throws BuildException
Returns the -tag parameter this argument represented.
Returns:
the -tag parameter as a string
Throws:
BuildException - if either the name or description is null or empty.

setEnabled

public void setEnabled(boolean enabled)
Sets whether or not the tag is enabled.
Parameters:
enabled - Whether or not this tag is enabled.

setName

public void setName(String name)
Sets the name of the tag.
Parameters:
name - The name of the tag. Must not be null or empty.

setScope

public void setScope(String verboseScope)
            throws BuildException
Sets the scope of the tag. This is in comma-separated form, with each element being one of "all" (the default), "overview", "packages", "types", "constructors", "methods", "fields". The elements are treated in a case-insensitive manner.
Parameters:
verboseScope - The scope of the tag. Must not be null, should not be empty.
Throws:
BuildException - if all is specified along with other elements, if any elements are repeated, if no elements are specified, or if any unrecognised elements are specified.