| |
|
| java.lang.Object com.lutris.html.HtmlString
HtmlString | public class HtmlString implements java.io.Serializable(Code) | | The HtmlString class contains a String and adds a
toHtml() method. It is intended to be used in Jolt presentations
and referenced through JoltFields. The presence of the toHtml()
method prevents the default behavour of HTML encoding
the string contents to take place.
author: Paul Morgan version: 1.0 (File $Revision: 1.2 $) since: LBS1.8 |
Constructor Summary | |
public | HtmlString(String value) Allocates a new string that contains the same sequence of
characters as the string argument. | public | HtmlString(StringBuffer buffer) Allocates a new String that contains the same sequence
characters contained in the string buffer argument. |
Method Summary | |
public String | toHtml() Returns the contained String object. | public String | toString() Returns the contained String object. |
HtmlString | public HtmlString(String value)(Code) | | Allocates a new string that contains the same sequence of
characters as the string argument.
Parameters: value - a String . |
HtmlString | public HtmlString(StringBuffer buffer)(Code) | | Allocates a new String that contains the same sequence
characters contained in the string buffer argument.
Parameters: buffer - a StringBuffer . |
toHtml | public String toHtml()(Code) | | Returns the contained String object.
|
toString | public String toString()(Code) | | Returns the contained String object.
|
|
|
|