public class HtmlUtilsDataLoader extends Object implements DataLoader
| Constructor and Description |
|---|
HtmlUtilsDataLoader() |
| Modifier and Type | Method and Description |
|---|---|
Object |
load(Engine e,
List args) |
void |
setXHtml(boolean xHtml) |
public Object load(Engine e, List args) throws Exception
load in interface DataLoaderargs - Arguments that the caller specifies for this directive call.
Not null.
The implementation should check if it understands all arguments,
and it should throw java.lang.IllegalArgumentException
if it doesn't.freemarker.template.TemplateModel, then it
will not be wrapped, as it is already an FTL variable.Exceptionpublic void setXHtml(boolean xHtml)