public class HtmlUtilsDataLoader extends java.lang.Object implements DataLoader
Constructor and Description |
---|
HtmlUtilsDataLoader() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
load(Engine e,
java.util.List args) |
void |
setXHtml(boolean xHtml) |
public java.lang.Object load(Engine e, java.util.List args) throws java.lang.Exception
load
in interface DataLoader
args
- 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.java.lang.Exception
public void setXHtml(boolean xHtml)