Public Methods | |
| Comment (String text) | |
| Element | getParent () |
| Comment | detach () |
| Document | getDocument () |
| String | getText () |
| Comment | setText (String text) |
| String | toString () |
| final boolean | equals (Object ob) |
| final int | hashCode () |
| Object | clone () |
Protected Methods | |
| Comment () | |
| Comment | setParent (Element parent) |
| Comment | setDocument (Document document) |
Protected Attributes | |
| String | text |
| Object | parent |
Comment defines behavior for an XML comment, modeled in Java. Methods allow the user to obtain the text of the comment.
|
|
Default, no-args constructor for implementations to use if needed. |
|
|
This creates the comment with the supplied text.
|
|
|
This will return a clone of this
|
|
|
This detaches the
|
|
|
This tests for equality of this
|
|
|
This retrieves the owning
|
|
|
This will return the parent of this
|
|
|
This returns the textual data within the
|
|
|
This returns the hash code for this
|
|
|
This sets the
|
|
|
This will set the parent of this
|
|
|
This will set the value of the
|
|
|
This returns a
|
|
|
Parent element, document, or null if none |
|
|
Text of the |
1.2.12 written by Dimitri van Heesch,
© 1997-2001