public abstract class ParamStore extends SoyAbstractRecord
Important: Do not use outside of Soy code (treat as superpackage-private).
SoyValueProvider.ResolveStatus| Modifier and Type | Field and Description |
|---|---|
static ParamStore |
EMPTY_INSTANCE |
| Constructor and Description |
|---|
ParamStore() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
coerceToBoolean()
Coerces this value into a boolean.
|
String |
coerceToString()
Coerces this value into a string.
|
boolean |
equals(SoyValue other)
Compares this value against another for equality in the sense of the '==' operator of Soy.
|
void |
render(Appendable appendable)
Renders this value to the given appendable.
|
abstract void |
setField(String name,
SoyValueProvider valueProvider)
Sets a field (i.e.
|
getFieldbooleanValue, equals, floatValue, integerValue, longValue, numberValue, render, resolve, status, stringValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFieldProvider, hasFieldbooleanValue, floatValue, integerValue, longValue, numberValue, render, stringValueequals, resolve, statuspublic static final ParamStore EMPTY_INSTANCE
public abstract void setField(String name, @Nonnull SoyValueProvider valueProvider)
name - The field name to set.valueProvider - A provider of the field value.public boolean coerceToBoolean()
SoyValuepublic String coerceToString()
SoyValuepublic 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.IOExceptionpublic boolean equals(SoyValue other)
SoyValueother - The other value to compare against.