Class Tag
- java.lang.Object
-
- org.apache.maven.plugins.javadoc.options.Tag
-
- All Implemented Interfaces:
Serializable
public class Tag extends Object implements Serializable
A Tag parameter.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Tag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)Method equals.StringgetHead()Get head of the tag.StringgetName()Get name of the tag.StringgetPlacement()Get placement of the tag.inthashCode()Method hashCode.voidsetHead(String head)Set head of the tag.voidsetName(String name)Set name of the tag.voidsetPlacement(String placement)Set a Placement.StringtoString()Method toString.
-
-
-
Method Detail
-
equals
public boolean equals(Object other)
Method equals.
-
getHead
public String getHead()
Get head of the tag.- Returns:
- String
-
getName
public String getName()
Get name of the tag.- Returns:
- String
-
getPlacement
public String getPlacement()
Get placement of the tag.- Returns:
- String
-
setHead
public void setHead(String head)
Set head of the tag.- Parameters:
head- a head object.
-
setName
public void setName(String name)
Set name of the tag.- Parameters:
name- a name object.
-
toString
public String toString()
Method toString.
-
setPlacement
public void setPlacement(String placement) throws IllegalArgumentException
Set a Placement. Should be a combinaison of the letters:- X (disable tag)
- a (all)
- o (overview)
- p (packages)
- t (types, that is classes and interfaces)
- c (constructors)
- m (methods)
- f (fields)
- Parameters:
placement-- Throws:
IllegalArgumentException- if not a valid combinaison of the letters
-
-