org.inxar.jenesis
Interface Comment

All Superinterfaces:
Codeable
All Known Subinterfaces:
DocumentationComment
All Known Implementing Classes:
MComment

public interface Comment
extends Codeable

The Comment superinterface.


Field Summary
static int D
          Type constant for a documentation comment.
static int M
          Type constant for a multiple line comment.
static int S
          Type constant for a single line comment.
 
Method Summary
 java.lang.String getText()
          Gets the text for this comment.
 void setText(java.lang.String text)
          Sets the text for this comment.
 int type()
          Returns the type of this comment.
 
Methods inherited from interface org.inxar.jenesis.Codeable
getComment, setComment, toCode, vm
 

Field Detail

S

public static final int S
Type constant for a single line comment.

M

public static final int M
Type constant for a multiple line comment.

D

public static final int D
Type constant for a documentation comment.
Method Detail

type

public int type()
Returns the type of this comment.

setText

public void setText(java.lang.String text)
Sets the text for this comment.

getText

public java.lang.String getText()
Gets the text for this comment.