public class BlobTemplate extends PropertyWrapper implements freemarker.template.TemplateHashModelEx, freemarker.template.AdapterTemplateModel
Constructor and Description |
---|
BlobTemplate(DocumentObjectWrapper wrapper,
Blob blob) |
Modifier and Type | Method and Description |
---|---|
freemarker.template.TemplateModel |
get(String name) |
Object |
getAdaptedObject(Class hint) |
boolean |
isEmpty() |
freemarker.template.TemplateCollectionModel |
keys() |
int |
size() |
freemarker.template.TemplateCollectionModel |
values() |
wrap
public BlobTemplate(DocumentObjectWrapper wrapper, Blob blob)
public Object getAdaptedObject(Class hint)
getAdaptedObject
in interface freemarker.template.AdapterTemplateModel
public freemarker.template.TemplateCollectionModel keys() throws freemarker.template.TemplateModelException
keys
in interface freemarker.template.TemplateHashModelEx
freemarker.template.TemplateModelException
public int size() throws freemarker.template.TemplateModelException
size
in interface freemarker.template.TemplateHashModelEx
freemarker.template.TemplateModelException
public freemarker.template.TemplateCollectionModel values() throws freemarker.template.TemplateModelException
values
in interface freemarker.template.TemplateHashModelEx
freemarker.template.TemplateModelException
public freemarker.template.TemplateModel get(String name) throws freemarker.template.TemplateModelException
get
in interface freemarker.template.TemplateHashModel
freemarker.template.TemplateModelException
public boolean isEmpty() throws freemarker.template.TemplateModelException
isEmpty
in interface freemarker.template.TemplateHashModel
freemarker.template.TemplateModelException
Copyright © 2011 Nuxeo SA. All Rights Reserved.