public abstract class ParamStore extends SoyAbstractRecord
Important: Do not use outside of Soy code (treat as superpackage-private).
| 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(Object 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 ParamStore |
setField(String name,
SoyValueProvider valueProvider)
Sets a field (i.e.
|
getFieldbooleanValue, floatValue, integerValue, longValue, numberValue, renderAndResolve, resolve, status, stringValueclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFieldProvider, hasFieldbooleanValue, floatValue, integerValue, longValue, numberValue, stringValuerenderAndResolve, resolve, statuspublic static final ParamStore EMPTY_INSTANCE
public abstract ParamStore 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(Object other)
SoyValueequals in interface SoyValueequals in class SoyAbstractValueother - The other value to compare against.