## Uses of Interface
com.google.gwt.safehtml.shared.SafeUri

- Packages that use SafeUri
  Package | Description
  --- | ---
  com.google.gwt.cell.client | Standard `Cell` subclasses used by the `cellview` widgets.
  com.google.gwt.dom.builder.client | Classes used to build DOM elements.
  com.google.gwt.dom.builder.shared | Classes used to build DOM elements.
  com.google.gwt.resources.client | Classes for aggregating static resources into bundles.
  com.google.gwt.safecss.shared | Shared classes for creating safe CSS style content.
  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.

- - ### Uses of SafeUri in com.google.gwt.cell.client

    Methods in com.google.gwt.cell.client with parameters of type SafeUri
    Modifier and Type | Method and Description
    --- | ---
    `SafeHtml` | SafeImageCell.Template.`img(SafeUri url)`
    `void` | SafeImageCell.`render(Cell.Context context, SafeUri value, SafeHtmlBuilder sb)`

  - ### Uses of SafeUri in com.google.gwt.dom.builder.client

    Methods in com.google.gwt.dom.builder.client with parameters of type SafeUri
    Modifier and Type | Method and Description
    --- | ---
    `StylesBuilder` | DomStylesBuilder.`backgroundImage(SafeUri uri)`

  - ### Uses of SafeUri in com.google.gwt.dom.builder.shared

    Methods in com.google.gwt.dom.builder.shared with parameters of type SafeUri
    Modifier and Type | Method and Description
    --- | ---
    `StylesBuilder` | HtmlStylesBuilder.`backgroundImage(SafeUri uri)`
    `StylesBuilder` | StylesBuilder.`backgroundImage(SafeUri uri)` Sets the background-image CSS property.

  - ### Uses of SafeUri in com.google.gwt.resources.client

    Methods in com.google.gwt.resources.client that return SafeUri
    Modifier and Type | Method and Description
    --- | ---
    `SafeUri` | DataResource.`getSafeUri()` Retrieves a URL by which the contents of the resource can be obtained.
    `SafeUri` | ImageResource.`getSafeUri()` Returns the URL for the composite image that contains the ImageResource.

  - ### Uses of SafeUri in com.google.gwt.safecss.shared

    Methods in com.google.gwt.safecss.shared with parameters of type SafeUri
    Modifier and Type | Method and Description
    --- | ---
    `SafeStylesBuilder` | SafeStylesBuilder.`backgroundImage(SafeUri uri)` Append the background-image CSS property.
    `static SafeStyles` | SafeStylesUtils.`forBackgroundImage(SafeUri uri)` Sets the background-image CSS property.

  - ### Uses of SafeUri in com.google.gwt.safehtml.shared

    Classes in com.google.gwt.safehtml.shared that implement SafeUri
    Modifier and Type | Class and Description
    --- | ---
    `(package private) class` | `SafeUriString` A string wrapped as an object of type `SafeUri`.

    Methods in com.google.gwt.safehtml.shared that return SafeUri
    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.`fromString(java.lang.String s)` Returns a `SafeUri` obtained by sanitizing the provided string.
    `static SafeUri` | UriUtils.`fromTrustedString(java.lang.String s)` Returns a `SafeUri` constructed from a trusted string, i.e., without sanitizing the string.
    `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.

  - ### Uses of SafeUri in com.google.gwt.user.client.ui

    Methods in com.google.gwt.user.client.ui with parameters of type SafeUri
    Modifier and Type | Method and Description
    --- | ---
    `static void` | Image.`prefetch(SafeUri url)` Causes the browser to pre-fetch the image at a given URL.
    `void` | FormPanel.`setAction(SafeUri url)` Sets the 'action' associated with this form.
    `void` | Frame.`setUrl(SafeUri url)` Sets the URL of the resource to be displayed within the frame.
    `void` | Image.`setUrl(SafeUri url)` Sets the URL of the image to be displayed.
    `void` | Image.`setUrlAndVisibleRect(SafeUri url, int left, int top, int width, int height)` Sets the url and the visibility rectangle for the image at the same time.

    Constructors in com.google.gwt.user.client.ui with parameters of type SafeUri
    Constructor and Description
    `Image(SafeUri url)` Creates an image with a specified URL.
    `Image(SafeUri url, int left, int top, int width, int height)` Creates a clipped image with a specified URL and visibility rectangle.