Package | Description |
---|---|
com.google.common.html.types | |
com.google.common.html.types.testing |
Class and 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. |
SafeHtmlBuilder.DirValue
Values that can be passed to
SafeHtmlBuilder.setDir(DirValue) . |
SafeHtmlBuilder.TargetValue
Values that can be passed to
SafeHtmlBuilder.setTarget(TargetValue) . |
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.
|
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 . |
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.
|
SafeUrl
A string that is safe to use in URL context in DOM APIs and HTML documents.
|
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. |
Class and Description |
---|
SafeHtml
A string that is safe to use in HTML context in DOM APIs and HTML documents.
|
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.
|
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. |
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.
|
SafeUrl
A string that is safe to use in URL context in DOM APIs and HTML documents.
|
TrustedResourceUrl
A URL which is under application control and from which script, CSS, and other resources that
represent executable code, can be fetched.
|