|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.modello.plugin.java.javasource.JDocDescriptor
public class JDocDescriptor
A descriptor for a JavaDoc comment
Field Summary | |
---|---|
static short |
AUTHOR
The author descriptor |
static java.lang.String |
DEFAULT_VERSION
The default version string |
static short |
EXCEPTION
The exception descriptor (exception) |
static short |
PARAM
The param descriptor (param) |
static short |
REFERENCE
The reference descriptor (see) |
static short |
RETURN
The return descriptor (return) |
static short |
VERSION
the version descriptor (version) |
Method Summary | |
---|---|
protected short |
compareTo(JDocDescriptor jdd)
Compares the type of this JDocDescriptor with the given descriptor. |
static JDocDescriptor |
createAuthorDesc()
Creates a new author descriptor |
static JDocDescriptor |
createAuthorDesc(java.lang.String name)
Creates a new author descriptor |
static JDocDescriptor |
createExceptionDesc()
Creates a new exception descriptor |
static JDocDescriptor |
createExceptionDesc(java.lang.String name,
java.lang.String desc)
Creates a new exception descriptor |
static JDocDescriptor |
createParamDesc()
Creates a new param descriptor |
static JDocDescriptor |
createParamDesc(java.lang.String name,
java.lang.String desc)
Creates a new param descriptor |
static JDocDescriptor |
createReferenceDesc()
Creates a new reference descriptor |
static JDocDescriptor |
createReferenceDesc(java.lang.String name)
Creates a new reference descriptor |
static JDocDescriptor |
createReturnDesc()
Creates a new return descriptor |
static JDocDescriptor |
createReturnDesc(java.lang.String desc)
Creates a new return descriptor |
static JDocDescriptor |
createVersionDesc()
Creates a new version descriptor |
static JDocDescriptor |
createVersionDesc(java.lang.String version)
Creates a new version descriptor |
java.lang.String |
getDescription()
Returns the description String for this descriptor |
java.lang.String |
getName()
Returns the name of the object being described. |
short |
getType()
Returns the type of this JDocDescriptor |
void |
setDescription(java.lang.String desc)
Sets the description String for this descriptor |
void |
setName(java.lang.String name)
Sets the name value of the JavaDoc field. |
java.lang.String |
toString()
Returns the String representation of this JDocDescriptor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_VERSION
public static final short PARAM
public static final short EXCEPTION
public static final short RETURN
public static final short AUTHOR
public static final short VERSION
public static final short REFERENCE
Method Detail |
---|
protected short compareTo(JDocDescriptor jdd)
public static JDocDescriptor createAuthorDesc()
public static JDocDescriptor createAuthorDesc(java.lang.String name)
name
- the author name string
public static JDocDescriptor createExceptionDesc()
public static JDocDescriptor createExceptionDesc(java.lang.String name, java.lang.String desc)
name
- the exception namedesc
- the description of when the exception is called
public static JDocDescriptor createParamDesc()
public static JDocDescriptor createParamDesc(java.lang.String name, java.lang.String desc)
name
- the param namedesc
- the param description string
public static JDocDescriptor createReferenceDesc()
public static JDocDescriptor createReferenceDesc(java.lang.String name)
name
- the reference name string
public static JDocDescriptor createReturnDesc()
public static JDocDescriptor createReturnDesc(java.lang.String desc)
desc
- the return description
public static JDocDescriptor createVersionDesc()
public static JDocDescriptor createVersionDesc(java.lang.String version)
version
- the version string
public java.lang.String getDescription()
public java.lang.String getName()
public short getType()
public void setDescription(java.lang.String desc)
desc
- the description of the object being describedpublic void setName(java.lang.String name)
name
- the name value of the JavaDoc fieldpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |