java.lang.Object | |
↳ | com.google.gwt.safehtml.shared.OnlyToBeUsedInGeneratedCodeStringBlessedAsSafeHtml |
A string wrapped as an object of type SafeHtml
.
This class is intended only for use in generated code where the code
generator guarantees that instances of this type will adhere to the
SafeHtml
contract (hence the purposely unwieldy class name).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an instance from a given HTML String.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns this object's contained HTML as a string.
| |||||||||||
Compares this string to the specified object.
| |||||||||||
Returns a hash code for this string.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface com.google.gwt.safehtml.shared.SafeHtml |
Constructs an instance from a given HTML String.
html | an HTML String that is assumed to be safe |
---|
Returns this object's contained HTML as a string.
Based on this class' contract, the returned value will be non-null and a string that is safe to use in an HTML context.
Returns a hash code for this string.