Package com.google.gwt.safehtml.shared
Class OnlyToBeUsedInGeneratedCodeStringBlessedAsSafeHtml
java.lang.Object
com.google.gwt.safehtml.shared.OnlyToBeUsedInGeneratedCodeStringBlessedAsSafeHtml
- All Implemented Interfaces:
SafeHtml,Serializable
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).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an instance from a given HTML String. -
Method Summary
-
Constructor Details
-
OnlyToBeUsedInGeneratedCodeStringBlessedAsSafeHtml
Constructs an instance from a given HTML String.- Parameters:
html- an HTML String that is assumed to be safe
-
-
Method Details
-
asString
-
equals
-
hashCode
-