| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| pack-priv static final String | |
| protected String | value
The actual character content |
| Access | Constructor and Description |
|---|---|
| protected | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public Object | Returns: Text - cloned node.Overrides org. Text node, with the
same character content, but no parent.
|
| public String | Returns: String - character content of this node.This returns the value of this |
| public String | Returns: normalized text content or empty stringThis returns the textual content with all surrounding whitespace removed and internal whitespace normalized to a single space. |
| public String | Returns: trimmed text content or empty stringThis returns the textual content with all surrounding whitespace removed. |
| public String | Returns: the textImplements abstract org. |
| public static String | Returns: normalized string or empty stringstring to be normalized. str)This returns a new string with all surrounding whitespace removed and internal whitespace normalized to a single space. |
| public Text | |
| public String | Returns: String - information about this node.Overrides java. String representation of the
Text node, suitable for debugging.
|
| CVS_ID | back to summary |
|---|---|
| private static final String CVS_ID | |
| EMPTY_STRING | back to summary |
|---|---|
| pack-priv static final String EMPTY_STRING | |
| value | back to summary |
|---|---|
| protected String value The actual character content | |
| Text | back to summary |
|---|---|
| protected Text() This is the protected, no-args constructor standard in all JDOM classes. It allows subclassers to get a raw instance with no initialization. | |
| Text | back to summary |
|---|---|
| public Text(String str) This constructor creates a new
| |
| append | back to summary |
|---|---|
| public void append(String str) This will append character content to whatever content already
exists within this
| |
| append | back to summary |
|---|---|
| public void append(Text text) This will append the content of another
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides org. This will return a clone of this
| |
| getText | back to summary |
|---|---|
| public String getText() This returns the value of this
| |
| getTextNormalize | back to summary |
|---|---|
| public String getTextNormalize() 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.
| |
| getTextTrim | back to summary |
|---|---|
| public String getTextTrim() This returns the textual content with all surrounding whitespace removed. If only whitespace exists, the empty string is returned.
| |
| getValue | back to summary |
|---|---|
| public String getValue() Implements abstract org. Returns the XPath 1.0 string value of this element, which is the text itself.
| |
| normalizeString | back to summary |
|---|---|
| public static String normalizeString(String str) 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 | |
| setText | back to summary |
|---|---|
| public Text setText(String str) This will set the value of this
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. This returns a
| |