public interface SoyCustomValueConverter
Important: Until this API is more stable and this note is removed, users must not directly use this class. A custom converter that knows how to convert some specific Java objects to SoyValues (or SoyValueProviders).
| Modifier and Type | Method and Description |
|---|---|
SoyValueProvider |
convert(SoyValueConverter valueConverter,
Object obj)
Converts the given object into a corresponding SoyValue or SoyValueProvider.
|
SoyValueProvider convert(SoyValueConverter valueConverter, Object obj)
valueConverter - The converter to use for internal arbitrary object conversions (if
needed). This should be a general converter that knows how to handle all object types.obj - The object to convert.