org.acm.seguin.pretty
Class NamedJavaDocComponent

java.lang.Object
  extended by org.acm.seguin.pretty.JavaDocComponent
      extended by org.acm.seguin.pretty.NamedJavaDocComponent

public class NamedJavaDocComponent
extends JavaDocComponent

Store a portion of a javadoc item

Author:
Chris Seguin

Constructor Summary
NamedJavaDocComponent()
          Create an instance of this java doc object
 
Method Summary
 java.lang.String getID()
          Return the id
 void print(PrintData printData)
          Print this tag
 void setID(java.lang.String newID)
          Set the id
 
Methods inherited from class org.acm.seguin.pretty.JavaDocComponent
getDescription, getLongestLength, getType, isPrinted, isRequired, leaveDescription, printDescription, setDescription, setLongestLength, setPrinted, setRequired, setType, wordwrapDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedJavaDocComponent

public NamedJavaDocComponent()
Create an instance of this java doc object

Method Detail

setID

public void setID(java.lang.String newID)
Set the id

Parameters:
newID - the new id

getID

public java.lang.String getID()
Return the id

Returns:
the id

print

public void print(PrintData printData)
Print this tag

Overrides:
print in class JavaDocComponent
Parameters:
printData - printData