com.japisoft.dtdparser.node
Class CommentDTDNode

java.lang.Object
  extended bycom.japisoft.dtdparser.node.DTDNode
      extended bycom.japisoft.dtdparser.node.CommentDTDNode

public class CommentDTDNode
extends DTDNode

Comment node

Version:
1.0
Author:
(c) 2002-2003 JAPISOFT
See Also:
DTDNode

Field Summary
 
Fields inherited from class com.japisoft.dtdparser.node.DTDNode
ATTRIBUTE, COMMENT, ELEMENT, ELEMENT_REF, ELEMENT_SET, ENTITY, ROOT
 
Constructor Summary
CommentDTDNode()
           
CommentDTDNode(java.lang.String comment)
           
 
Method Summary
 java.lang.String getComment()
          Return a comment
 void setComment(java.lang.String comment)
          Set a comment
 java.lang.String toString()
           
 
Methods inherited from class com.japisoft.dtdparser.node.DTDNode
addDTDNode, getDTDNodeAt, getDTDNodeCount, getDTDNodeForType, getDTDNodeIndex, getDTDNodes, getDTDParentNode, getNodeComment, getNodeType, getRoot, isAttribute, isComment, isElement, isElementRef, isElementSet, isEmpty, isEntity, isRoot, removeDTDNode, setDTDParentNode, setNodeComment, setNodeType, setRoot
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommentDTDNode

public CommentDTDNode()

CommentDTDNode

public CommentDTDNode(java.lang.String comment)
Method Detail

setComment

public void setComment(java.lang.String comment)
Set a comment


getComment

public java.lang.String getComment()
Return a comment


toString

public java.lang.String toString()