## Uses of Class
org.jdom.Comment

Packages that use Comment
org.jdom
org.jdom.input
org.jdom.output

Uses of Comment in org.jdom

Methods in org.jdom that return Comment
`protected Comment` `Comment.setParent(Element parent)` This will set the parent of this `Comment`.
`Comment` `Comment.detach()` This detaches the `Comment` from its parent, or does nothing if the `Comment` has no parent.
`protected Comment` `Comment.setDocument(Document document)` This sets the ``Document`` parent of this comment.
`Comment` `Comment.setText(java.lang.String text)` This will set the value of the `Comment`.

Methods in org.jdom with parameters of type Comment
`Document` `Document.addContent(Comment comment)` This will add a comment to the `Document`.
`boolean` `Document.removeContent(Comment comment)` This removes the specified `Comment`.
`Element` `Element.addContent(Comment comment)` This adds a comment as content to this element.
`boolean` `Element.removeContent(Comment comment)` This removes the specified `Comment`.

Constructors in org.jdom with parameters of type Comment
`IllegalAddException.IllegalAddException(Element base, Comment added, java.lang.String reason)` This will create an `Exception` indicating that the addition of the ``Comment`` to the ``Element`` is illegal.
`IllegalAddException.IllegalAddException(Document base, Comment added, java.lang.String reason)` This will create an `Exception` indicating that the addition of the ``Comment`` to the ``Document`` is illegal.

Uses of Comment in org.jdom.input

Methods in org.jdom.input that return Comment
`Comment` `JDOMFactory.comment(java.lang.String text)` This creates the comment with the supplied text.
`Comment` `DefaultJDOMFactory.comment(java.lang.String text)`

Uses of Comment in org.jdom.output

Methods in org.jdom.output with parameters of type Comment
`void` `XMLOutputter.output(Comment comment, java.io.OutputStream out)` Print out a ``Comment``.
`void` `XMLOutputter.output(Comment comment, java.io.Writer out)` Print out a ``Comment``.
`java.lang.String` `XMLOutputter.outputString(Comment comment)` Return a string representing a comment.
`protected void` `XMLOutputter.printComment(Comment comment, java.io.Writer out)` This will handle printing of comments.

Copyright © 2002 Jason Hunter, Brett McLaughlin. All Rights Reserved.