public interface DataCapsule
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getExportPrefix() |
java.lang.String[] |
getExports()
getExports() returns the names of all exported methods
that will be available to a template through tags like
{$[export_prefix]_[lowercase_export_name]} when the
DataCapsule object is placed directly into a Chunk's
tag table:
Chunk c = theme.makeChunk("template_name");
someObj x = fetchObj();
c.addData(x);
For now, only very simple methods may be exported.
|
java.lang.String[] getExports()
java.lang.String getExportPrefix()
Copyright © 2019. All Rights Reserved.