public final class HTMLText extends Object
Modifier and Type | Method and Description |
---|---|
String |
toHTML()
Return the HTML text.
|
String |
toString()
Override for debugging.
|
protected void |
toStringBuilder(StringBuilder buffer,
boolean html)
Write HTML to string buffer.
|
String |
toText()
Return a plain text version of the node.
|
public HTMLText(String text)
text
- Text.protected void toStringBuilder(StringBuilder buffer, boolean html)
buffer
- The StringBuilder
.html
- true
=> format as HTML;
false
=> format as plain text.public String toText()
public String toHTML()
Copyright © 2000-2014. All Rights Reserved.