org.exolab.javasource
Class JDocComment

java.lang.Object
  extended byorg.exolab.javasource.JDocComment

public class JDocComment
extends java.lang.Object

A class that "SOMEWHAT" represents a Java Doc Comment.

Version:
$Revision: 1.5 $ $Date: 2000/11/04 01:31:18 $
Author:
Keith Visco

Constructor Summary
JDocComment()
          Creates a new JavaDoc Comment
 
Method Summary
 void addDescriptor(JDocDescriptor jdesc)
          Adds the given exception to this JDocComment
 void appendComment(java.lang.String comment)
          Appends the comment String to this JDocComment
 java.util.Enumeration getDescriptors()
          Returns an enumeration of the parameters of this JDocComment
 JDocDescriptor getParamDescriptor(java.lang.String name)
          Returns the Parameter Descriptor associated with the given name
 void print(JSourceWriter jsw)
          prints this JavaDoc comment using the given JSourceWriter
 void setComment(java.lang.String comment)
          Sets the comment String of this JDocComment
 java.lang.String toString()
          Returns the String representation of this Java Doc Comment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JDocComment

public JDocComment()
Creates a new JavaDoc Comment

Method Detail

addDescriptor

public void addDescriptor(JDocDescriptor jdesc)
Adds the given exception to this JDocComment


appendComment

public void appendComment(java.lang.String comment)
Appends the comment String to this JDocComment

Parameters:
comment - the comment to append

getParamDescriptor

public JDocDescriptor getParamDescriptor(java.lang.String name)
Returns the Parameter Descriptor associated with the given name

Returns:
the Parameter Descriptor associated with the given name

getDescriptors

public java.util.Enumeration getDescriptors()
Returns an enumeration of the parameters of this JDocComment

Returns:
an enumeration of the parameters of this JDocComment

print

public void print(JSourceWriter jsw)
prints this JavaDoc comment using the given JSourceWriter


setComment

public void setComment(java.lang.String comment)
Sets the comment String of this JDocComment

Parameters:
comment - the comment String of this JDocComment

toString

public java.lang.String toString()
Returns the String representation of this Java Doc Comment

Returns:
the String representation of this Java Doc Comment


Intalio Inc. (C) 1999-2001. All rights reserved http://www.intalio.com