|
EAF 7.4 Implementation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lutris.html.HtmlString
public class HtmlString
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.
Constructor Summary | |
---|---|
HtmlString(java.lang.String value)
Allocates a new string that contains the same sequence of characters as the string argument. |
|
HtmlString(java.lang.StringBuffer buffer)
Allocates a new String that contains the same sequence
characters contained in the string buffer argument. |
Method Summary | |
---|---|
java.lang.String |
toHtml()
Returns the contained String object. |
java.lang.String |
toString()
Returns the contained String object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HtmlString(java.lang.String value)
value
- a String
.public HtmlString(java.lang.StringBuffer buffer)
String
that contains the same sequence
characters contained in the string buffer argument.
buffer
- a StringBuffer
.Method Detail |
---|
public java.lang.String toString()
String
object.
toString
in class java.lang.Object
public java.lang.String toHtml()
String
object.
|
EAF 7.4 Implementation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |