public final class FreemarkerUtil extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static <T> T | getAsObject(freemarker.template.TemplateModel model,
           Class<T> type,
           T defaultValue)Unwraps a TemplateModel to extract an object. | 
public static <T> T getAsObject(freemarker.template.TemplateModel model,
                                Class<T> type,
                                T defaultValue)
model - The TemplateModel to unwrap.defaultValue - The default value, as specified in the template
 model, or null if not specified.Copyright © 2000–2025 Apache Software Foundation. All rights reserved.