Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package pl.matisoft.soy.data;
 
 
 import  javax.annotation.Nullable;

Created with IntelliJ IDEA. User: mati Date: 20/06/2013 Time: 00:27 An interface, which converts a view model (e.g) POJO object to a Soy's compatible data structure
public interface ToSoyDataConverter {

    
Convert a view model object to SoyMapData structure

Parameters:
model - model
Returns:
maybe soy map data
Throws:
Exception - error to convert
    Optional<SoyMapDatatoSoyMap(@Nullable final Object modelthrows Exception;
New to GrepCode? Check out our FAQ X