public abstract class PrimitiveData extends SoyData
Important: This class may only be used in implementing plugins (e.g. functions, directives).
Important: Even though this class is not marked 'final', do not extend this class.
| Constructor and Description |
|---|
PrimitiveData() |
| Modifier and Type | Method and Description |
|---|---|
void |
render(Appendable appendable)
Renders this value to the given appendable.
|
coerceToBoolean, coerceToString, createFromExistingData, toBoolean, toStringbooleanValue, equals, floatValue, integerValue, longValue, numberValue, renderAndResolve, resolve, status, stringValuepublic void render(Appendable appendable) throws IOException
SoyValueThis should behave identically to appendable.append(coerceToString()) but is
provided separately to allow more incremental approaches.
appendable - The appendable to render to.IOException