com.conradroche.matra.decl
Class Comment

java.lang.Object
  |
  +--com.conradroche.matra.decl.Comment
All Implemented Interfaces:
Comment

public class Comment
extends java.lang.Object
implements Comment

Class to hold the details of a comment in the DTD.

Author:
Conrad Roche

Constructor Summary
Comment()
          Comment Constructor.
 
Method Summary
 java.lang.String getCommentText()
          Returns the text contained in the comment.
 void setCommentText(java.lang.String commentText)
          Sets the comment text.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Comment

public Comment()
Comment Constructor.
Method Detail

getCommentText

public java.lang.String getCommentText()
Returns the text contained in the comment.
Specified by:
getCommentText in interface Comment
Returns:
The comment text.

setCommentText

public void setCommentText(java.lang.String commentText)
Sets the comment text.
Specified by:
setCommentText in interface Comment
Parameters:
The - comment text.