public final class FormatWriterMethod extends Object implements freemarker.template.TemplateMethodModelEx
Render object to mimetype of web script template. If object cannot be serialized to mimetype then no output is written.
Usage: formatwrite(object) Where: object => object to write
| Constructor and Description |
|---|
FormatWriterMethod(FormatRegistry formatRegistry,
String format)
Construct
|
public FormatWriterMethod(FormatRegistry formatRegistry, String format)
Copyright © 2005–2018 Alfresco Software. All rights reserved.