Home » freemarker-2.3.13 » freemarker.template.utility » [javadoc | source]
public class: DeepUnwrap [javadoc | source]
Utility methods for unwrapping TemplateModel -s.
Method from freemarker.template.utility.DeepUnwrap Summary:
premissiveUnwrap,   unwrap
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from freemarker.template.utility.DeepUnwrap Detail:
 public static Object premissiveUnwrap(TemplateModel model) throws TemplateModelException 
    Same as #unwrap(TemplateModel) , but it doesn't throw exception if it doesn't know how to unwrap the object, but returns it as is.
 public static Object unwrap(TemplateModel model) throws TemplateModelException