freemarker.template.SimpleCollection Java Examples
The following examples show how to use
freemarker.template.SimpleCollection.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TemplateProcessor.java From brooklyn-server with Apache License 2.0 | 4 votes |
public TemplateCollectionModel keys() { return new SimpleCollection(map.keySet(), WRAPPER); }
Example #2
Source File: TemplateProcessor.java From brooklyn-server with Apache License 2.0 | 4 votes |
public TemplateCollectionModel values() { return new SimpleCollection(map.values(), WRAPPER); }
Example #3
Source File: JsonObjectAdapter.java From vertx-web with Apache License 2.0 | 4 votes |
@Override public TemplateCollectionModel keys() { return new SimpleCollection(jsonObject.fieldNames(), getObjectWrapper()); }
Example #4
Source File: JsonObjectAdapter.java From vertx-web with Apache License 2.0 | 4 votes |
@Override public TemplateCollectionModel values() { return new SimpleCollection(jsonObject.getMap().values(), getObjectWrapper()); }