|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.sandev.generator.tags.AbstractSandBaseTag
org.sandev.generator.tags.AbstractSandGeneralTag
org.sandev.generator.tags.GeneralTagPrintname
public class GeneralTagPrintname
Handle @sand.printname declarations.
Declares a print value to be used instead of the actual name for display purposes, allowing the actual name and print name to be changed independently. Can be used at either the field or the class level. Typical use:
parameters:
| Field Summary | |
|---|---|
static java.lang.String |
CORENAME
The core name of this tag. |
protected java.lang.String |
printnameStr
The declared print value |
static java.lang.String |
TAGNAME
Our fixed name, used for hash lookup and text parsing. |
| Fields inherited from class org.sandev.generator.tags.AbstractSandBaseTag |
|---|
PREFIX |
| Constructor Summary | |
|---|---|
GeneralTagPrintname()
|
|
| Method Summary | |
|---|---|
static boolean |
exists(com.sun.javadoc.ProgramElementDoc ped)
Returns true if the given program element contains this tag, false otherwise. |
static GeneralTagPrintname |
getGeneralTagPrintname(com.sun.javadoc.ProgramElementDoc ped)
Factory method for retrieving a new instance given a program element doc object. |
java.lang.String |
getName()
Return our tag name |
java.lang.String |
getPrintnameStr()
accessor for printnameStr |
void |
init(com.sun.javadoc.Tag tag)
Initialize this instance from the tag information. |
static void |
register(java.util.Map tagletMap)
Registers this taglet when triggered by the taglet declaration being loaded in as part of the build. |
void |
setPrintnameStr(java.lang.String val)
mutator for printnameStr |
java.lang.String |
toString(com.sun.javadoc.Tag tag)
Return a documentation description of this tag. |
java.lang.String |
toString(com.sun.javadoc.Tag[] tags)
Return the documentation text for when several of these tags are present |
| Methods inherited from class org.sandev.generator.tags.AbstractSandGeneralTag |
|---|
inField, inType |
| Methods inherited from class org.sandev.generator.tags.AbstractSandBaseTag |
|---|
inConstructor, inMethod, inOverview, inPackage, isInlineTag, registerHelper |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CORENAME
protected java.lang.String printnameStr
public static final java.lang.String TAGNAME
| Constructor Detail |
|---|
public GeneralTagPrintname()
| Method Detail |
|---|
public java.lang.String getPrintnameStr()
public void setPrintnameStr(java.lang.String val)
public void init(com.sun.javadoc.Tag tag)
public java.lang.String getName()
public static void register(java.util.Map tagletMap)
public java.lang.String toString(com.sun.javadoc.Tag tag)
toString in interface com.sun.tools.doclets.TaglettoString in class AbstractSandBaseTagtag - the Tag representation of this custom tag.public java.lang.String toString(com.sun.javadoc.Tag[] tags)
toString in interface com.sun.tools.doclets.TaglettoString in class AbstractSandBaseTagtags - the array of Tags representing of this custom tag.public static GeneralTagPrintname getGeneralTagPrintname(com.sun.javadoc.ProgramElementDoc ped)
public static boolean exists(com.sun.javadoc.ProgramElementDoc ped)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||