Uses of Class org.jdom.Comment

Uses in package org.jdom

Constructors with parameter type org.jdom.Comment

This will create an Exception indicating that the addition of the Comment to the Document is illegal.
This will create an Exception indicating that the addition of the Comment to the Element is illegal.

Methods with parameter type org.jdom.Comment

Document
This will add a comment to the Document.
Element
This adds a comment as content to this element.
boolean
This removes the specified Comment.
boolean
This removes the specified Comment.

Methods with return type org.jdom.Comment

Comment
This detaches the Comment from its parent, or does nothing if the Comment has no parent.
Comment
This sets the Document parent of this comment.
Comment
This will set the parent of this Comment.
Comment
Comment.setText(String text)
This will set the value of the Comment.

Uses in package org.jdom.input

Methods with return type org.jdom.Comment

Comment
This creates the comment with the supplied text.
Comment
JDOMFactory.comment(String text)
This creates the comment with the supplied text.

Uses in package org.jdom.output

Methods with parameter type org.jdom.Comment

void
XMLOutputter.output(Comment comment, OutputStream out)
Print out a Comment.
void
XMLOutputter.output(Comment comment, Writer out)
Print out a Comment.
String
Return a string representing a comment.
void
XMLOutputter.printComment(Comment comment, Writer out)
This will handle printing of comments.

Copyright B) 2002 Jason Hunter, Brett McLaughlin. All Rights Reserved.