@ParametersAreNonnullByDefault public abstract class SoyAbstractMap extends SoyAbstractValue implements SoyMap
Important: Until this API is more stable and this note is removed, users must not define classes that extend this class.
| Constructor and Description |
|---|
SoyAbstractMap() |
| 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.
|
SoyValue |
getItem(SoyValue key)
Gets an item value of this SoyMap.
|
void |
render(Appendable appendable)
Renders this value to the given appendable.
|
String |
toString() |
booleanValue, floatValue, integerValue, longValue, numberValue, renderAndResolve, resolve, status, stringValueclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetItemCnt, getItemKeys, getItemProvider, hasItembooleanValue, floatValue, integerValue, longValue, numberValue, stringValuerenderAndResolve, resolve, statuspublic SoyValue getItem(SoyValue key)
SoyMappublic final String coerceToString()
SoyValuecoerceToString in interface SoyValuepublic void render(Appendable appendable) throws IOException
SoyValueThis should behave identically to appendable.append(coerceToString()) but is
provided separately to allow more incremental approaches.
render in interface SoyValueappendable - The appendable to render to.IOExceptionpublic final boolean equals(Object other)
SoyValueequals in interface SoyValueequals in class SoyAbstractValueother - The other value to compare against.public final boolean coerceToBoolean()
SoyValuecoerceToBoolean in interface SoyValue