|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.odfdom.incubator.doc.text.OdfWhitespaceProcessor
org.odftoolkit.simple.common.WhitespaceProcessor in Simple API.
public class OdfWhitespaceProcessor
It's a tool class to help process white space.
| Constructor Summary | |
|---|---|
OdfWhitespaceProcessor()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
append(Element element,
String content)
Deprecated. Add given text content to an element, handling multiple blanks, tabs, and newlines properly. |
static void |
appendText(Element element,
String content)
Deprecated. Append text content to a given element, handling whitespace properly. |
String |
getText(Node element)
Deprecated. Retrieve the text content of an element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OdfWhitespaceProcessor()
| Method Detail |
|---|
public void append(Element element,
String content)
element - the element to which content is being addedcontent - text content including whitespacepublic String getText(Node element)
<text:s>,
<text:line-break> and <text:tab>.
element - an element whose text you want to retrieve
public static void appendText(Element element,
String content)
element - the element to which content is being addedcontent - text content including whitespace
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||