org.odftoolkit.simple.common.WhitespaceProcessor in Simple API.public class OdfWhitespaceProcessor extends Object
| Constructor and Description |
|---|
OdfWhitespaceProcessor()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 retrievepublic static void appendText(Element element, String content)
element - the element to which content is being addedcontent - text content including whitespaceCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2019 The Document Foundation. All rights reserved.