@ParametersAreNonnullByDefault @Immutable public abstract class SanitizedContent extends SoyData
| Modifier and Type | Class and Description |
|---|---|
static class |
SanitizedContent.ContentKind
A kind of textual content.
|
SoyValueProvider.ResolveStatus| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
This was a required method in the old SoyData interface.
|
abstract String |
getContent()
Returns a string of valid content with kind
getContentKind(). |
Dir |
getContentDirection()
Returns the content's direction; null indicates that the direction is unknown, and is to be
estimated when necessary.
|
SanitizedContent.ContentKind |
getContentKind()
Returns the kind of content.
|
int |
hashCode() |
String |
stringValue()
Returns the string value.
|
boolean |
toBoolean()
Deprecated.
|
String |
toString()
This was a required method in the old SoyData interface.
|
coerceToBoolean, coerceToString, createFromExistingData, equalsbooleanValue, equals, floatValue, integerValue, longValue, numberValue, render, resolve, statuspublic abstract String getContent()
getContentKind().public SanitizedContent.ContentKind getContentKind()
@Nullable public Dir getContentDirection()
@Deprecated public boolean toBoolean()
SoyDatapublic String toString()
SoyDatapublic String stringValue()
stringValue in interface SoyValuestringValue in class SoyAbstractValuepublic boolean equals(@Nullable Object other)
SoyData