public interface SoyValueConverter
Important: Until this API is more stable and this note is removed, users must not directly use this class. A general converter that knows how to convert all expected Java objects to SoyValues (or SoyValueProviders).
| Modifier and Type | Method and Description |
|---|---|
SoyValueProvider |
convert(Object obj)
Converts the given object into a corresponding SoyValue or SoyValueProvider.
|
@Nonnull SoyValueProvider convert(Object obj)
obj - The object to convert.