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 boolean
equals(Object other)
Method equals.String
getHead()
Get head of the tag.String
getName()
Get name of the tag.String
getPlacement()
Get placement of the tag.int
hashCode()
Method hashCode.void
setHead(String head)
Set head of the tag.void
setName(String name)
Set name of the tag.void
setPlacement(String placement)
Set a Placement.String
toString()
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
-
-