Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## 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(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, String reason)` This will create an `Exception` indicating that the addition of the ``Comment`` supplied as content to the supplied element is not allowed.
`IllegalAddException.IllegalAddException(Document base, Comment added, String reason)` This will create an `Exception` indicating that the addition of the ``Comment`` supplied as content to the supplied document is not allowed.

Uses of Comment in org.jdom.input

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

Uses of Comment in org.jdom.output

Methods in org.jdom.output with parameters of type Comment
`void` | `XMLOutputter.output(Comment comment, Writer out)` Print out a ``Comment``
`void` | `XMLOutputter.output(Comment comment, OutputStream out)` Print out a ``Comment``
`String` | `XMLOutputter.outputString(Comment comment)` Return a string representing a comment.
`protected void` | `XMLOutputter.printComment(Comment comment, Writer out)` This will write the comment to the specified writer.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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