|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--vdoclet.docinfo.BaseInfo
Base class for stuff that has tags.
Constructor Summary | |
BaseInfo(String name)
|
Method Summary | |
void |
addTag(String name,
String value)
Add a tag. |
void |
addTag(TagInfo tag)
Add a tag. |
void |
addTags(Collection tags)
|
Object |
clone()
|
String |
getComment()
Get the comment |
String |
getName()
Get the name |
TagInfo |
getTag(String name)
Get the first tag with the given name, or null if there isn't one. |
List |
getTags()
Get all tags. |
List |
getTags(String name)
Get all tags with the given name. |
String |
getTagValue(String name)
Get the value of first tag with the given name. |
String |
getTagValue(String name,
String defaultValue)
Get the value of first tag with the given name. |
void |
setComment(String comment)
Get the comment |
void |
setName(String name)
Set the name |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BaseInfo(String name)
Method Detail |
public Object clone()
clone
in class Object
public String getName()
public void setName(String name)
public void setComment(String comment)
public String getComment()
public void addTag(TagInfo tag)
public void addTag(String name, String value)
public void addTags(Collection tags)
public List getTags()
public List getTags(String name)
public TagInfo getTag(String name)
public String getTagValue(String name)
public String getTagValue(String name, String defaultValue)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |