Matra DTD Parser 0.8b

com.conradroche.matra.decl
Class Comment

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

public class Comment
extends Object
implements Comment

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

Author:
Conrad Roche

Constructor Summary
Comment()
          Comment Constructor.
 
Method Summary
 String getCommentText()
          Returns the text contained in the comment.
 void setCommentText(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 String getCommentText()
Returns the text contained in the comment.
Specified by:
getCommentText in interface Comment
Returns:
The comment text.
See Also:
setCommentText(java.lang.String)

setCommentText

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

Matra DTD Parser 0.8b