Package | Description |
---|---|
com.google.gwt.safehtml.shared |
Shared classes for creating safe HTML content.
|
com.google.gwt.user.client.ui |
Widgets, Panels, and other user-interface classes.
|
Modifier and Type | Method and Description |
---|---|
static SafeUri |
UriUtils.fromSafeConstant(java.lang.String s)
Returns a
SafeUri constructed from a value that is fully under
the control of the program, e.g., a constant. |
static SafeUri |
UriUtils.fromTrustedString(java.lang.String s)
Returns a
SafeUri constructed from a trusted string, i.e., without
sanitizing the string. |
static java.lang.String |
UriUtils.sanitizeUri(java.lang.String uri)
Sanitizes a URI.
|
static SafeUri |
UriUtils.unsafeCastFromUntrustedString(java.lang.String s)
Deprecated.
This method is intended only for use in APIs that use
SafeUri to represent URIs, but for backwards
compatibility have methods that accept URI parameters as plain
strings. |
Modifier and Type | Method and Description |
---|---|
void |
Hyperlink.setTargetHistoryToken(java.lang.String targetHistoryToken)
Sets the history token referenced by this hyperlink.
|