|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectview.xhtml.HtmlObject
view.xhtml.RawText
view.xhtml.HtmlText
public class HtmlText
| Constructor Summary | |
|---|---|
HtmlText(java.lang.String text)
Constructs an HtmlText object from a String. |
|
| Method Summary | |
|---|---|
private static java.lang.String |
encode(java.lang.String text)
Encodes plain text using HTML entities when necessary. |
java.lang.String |
getHtml()
Returns the HTML source code of the text. |
| Methods inherited from class view.xhtml.RawText |
|---|
getHtml |
| Methods inherited from class view.xhtml.HtmlObject |
|---|
getHtml, getIndent, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlText(java.lang.String text)
| Method Detail |
|---|
private static java.lang.String encode(java.lang.String text)
text - the text to encodepublic final java.lang.String getHtml()
getHtml in class RawText
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||