Package com.google.gwt.safehtml.shared
package com.google.gwt.safehtml.shared
Shared classes for creating safe HTML content.
-
ClassDescriptionSanitizes untrusted HTML.A string wrapped as an object of type
SafeHtml
.An object that implements this interface encapsulates HTML that is guaranteed to be safe to use (with respect to potential Cross-Site-Scripting vulnerabilities) in an HTML context.A builder that facilitates the building up of XSS-safe HTML from text snippets.SafeHtml utilities whose implementation differs between Development and Production Mode.A string wrapped as an object of typeSafeHtml
.Utility class containing static methods for escaping and sanitizing strings.An object that implements this interface encapsulates a URI that is guaranteed to be safe to use (with respect to potential Cross-Site-Scripting vulnerabilities) in a URL context, for example in a URL-typed attribute in an HTML document.SafeUri utilities whose implementation differs between Development and Production Mode.A string wrapped as an object of typeSafeUri
.A simple and relatively inexpensive HTML sanitizer.Utility class containing static methods for validating and sanitizing URIs.