Public Methods | |
| Text (String str) | |
| String | getText () |
| String | getTextTrim () |
| String | getTextNormalize () |
| Text | setText (String str) |
| void | append (String str) |
| void | append (Text text) |
| Element | getParent () |
| Document | getDocument () |
| Text | detach () |
| String | toString () |
| final int | hashCode () |
| Object | clone () |
| final boolean | equals (Object ob) |
Static Public Methods | |
| String | normalizeString (String str) |
Protected Methods | |
| Text () | |
| Text | setParent (Element parent) |
Protected Attributes | |
| String | value |
| Element | parent |
Text represents character-based content within an XML document represented by JDOM. It is intended to provide a modular, parentable method of representing that text. Additionally, Text makes no guarantees about the underlying textual representation of character data, but does expose that data as a Java String.
|
|
This is the protected, no-args constructor standard in all JDOM classes. It allows subclassers to get a raw instance with no initialization. |
|
|
This constructor creates a new
|
|
|
This will append the content of another
|
|
|
This will append character content to whatever content already exists within this
|
|
|
This will return a clone of this
|
|
|
Detaches the
|
|
|
This tests for equality of this
|
|
|
This retrieves the owning
|
|
|
This will return the parent of this
|
|
|
This returns the value of this
|
|
|
This returns the textual content with all surrounding whitespace removed and internal whitespace normalized to a single space. If only whitespace exists, the empty string is returned.
|
|
|
This returns the textual content with all surrounding whitespace removed. If only whitespace exists, the empty string is returned.
|
|
|
This will generate a hash code for this node.
|
|
|
This returns a new string with all surrounding whitespace removed and internal whitespace normalized to a single space. If only whitespace exists, the empty string is returned. Per XML 1.0 Production 3 whitespace includes: x20, x9, xD, xA
|
|
|
This will set the parent of the
If you need an instance of this
|
|
|
This will set the value of this
|
|
|
This returns a
|
|
|
This |
|
|
The actual character content |
1.2.12 written by Dimitri van Heesch,
© 1997-2001