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(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(String s)
Returns a
SafeUri constructed from a trusted string, i.e., without
sanitizing the string. |
static String |
UriUtils.sanitizeUri(String uri)
Sanitizes a URI.
|
static SafeUri |
UriUtils.unsafeCastFromUntrustedString(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(String targetHistoryToken)
Sets the history token referenced by this hyperlink.
|
Copyright © 2018. All rights reserved.