Package | Description |
---|---|
com.google.common.html.types | |
com.google.common.html.types.testing |
Modifier and Type | Field and Description |
---|---|
static SafeStyleSheet |
SafeStyleSheet.EMPTY
The SafeStyleSheet wrapping an empty string.
|
Modifier and Type | Method and Description |
---|---|
static SafeStyleSheet |
SafeStyleSheets.fromConstant(String styleSheet)
Creates a SafeStyleSheet from the given compile-time constant string
style . |
static SafeStyleSheet |
SafeStyleSheets.fromProto(SafeStyleSheetProto proto)
Deserializes a SafeStyleSheetProto into a SafeStyleSheet instance.
|
static SafeStyleSheet |
UncheckedConversions.safeStyleSheetFromStringKnownToSatisfyTypeContract(String stylesheet)
Converts a String into a SafeStyleSheet.
|
Modifier and Type | Method and Description |
---|---|
static SafeStyleSheetProto |
SafeStyleSheets.toProto(SafeStyleSheet style)
Serializes a SafeStyleSheet into its opaque protocol message representation.
|
Modifier and Type | Method and Description |
---|---|
static SafeStyleSheet |
HtmlConversions.newSafeStyleSheetForTest(String string)
Creates a
SafeStyleSheet wrapping the given string . |