Class | Description |
---|---|
SafeHtml |
A string that is safe to use in HTML context in DOM APIs and HTML documents.
|
SafeHtmlBuilder |
Builder for HTML elements which conform to the
SafeHtml contract. |
SafeHtmls |
Protocol conversions, builders and factory methods for
SafeHtml . |
SafeScript |
A string-like object which represents JavaScript code and that carries the security type
contract that its value, as a string, will not cause execution of unconstrained attacker
controlled code (XSS) when evaluated as JavaScript in a browser.
|
SafeScripts |
Protocol conversions and factory methods for
SafeScript . |
SafeStyle |
A string-like object which represents a sequence of CSS declarations
(
propertyName1: propertyvalue1; propertyName2: propertyValue2; ... ) and that carries the
security type contract that its value, as a string, will not cause untrusted script execution
(XSS) when evaluated as CSS in a browser. |
SafeStyleBuilder |
A builder for values of type
SafeStyle . |
SafeStyles |
Protocol conversions and factory methods for
SafeStyle . |
SafeStyleSheet |
A string-like object which represents a CSS style sheet and that carries the security type
contract that its value, as a string, will not cause untrusted script execution (XSS) when
evaluated as CSS in a browser.
|
SafeStyleSheets |
Protocol conversions and factory methods for
SafeStyleSheet . |
SafeUrl |
A string that is safe to use in URL context in DOM APIs and HTML documents.
|
SafeUrls |
Protocol conversions and factory methods for
SafeUrl . |
TrustedResourceUrl |
A URL which is under application control and from which script, CSS, and other resources that
represent executable code, can be fetched.
|
TrustedResourceUrlBuilder |
Builder for constructing
TrustedResourceUrl in steps, from application-controlled
strings. |
TrustedResourceUrls |
Protocol conversions and factory methods for
TrustedResourceUrl . |
UncheckedConversions |
Unchecked conversions to create values of
com.google.common.html types from plain
strings. |
Enum | Description |
---|---|
SafeHtmlBuilder.DirValue |
Values that can be passed to
SafeHtmlBuilder.setDir(DirValue) . |
SafeHtmlBuilder.TargetValue |
Values that can be passed to
SafeHtmlBuilder.setTarget(TargetValue) . |