ContentMapModel
instead.@Deprecated public class ContentModel extends Object implements freemarker.template.TemplateHashModelEx, freemarker.template.TemplateNodeModel, freemarker.template.TemplateScalarModel, freemarker.template.AdapterTemplateModel
Modifier and Type | Method and Description |
---|---|
Content |
asContent()
Deprecated.
|
freemarker.template.TemplateModel |
get(String key)
Deprecated.
|
Object |
getAdaptedObject(Class hint)
Deprecated.
|
String |
getAsString()
Deprecated.
|
freemarker.template.TemplateSequenceModel |
getChildNodes()
Deprecated.
This returns all children, except nodes or jcr: types and mgnl:metaData.
|
String |
getNodeName()
Deprecated.
|
String |
getNodeNamespace()
Deprecated.
|
String |
getNodeType()
Deprecated.
|
freemarker.template.TemplateNodeModel |
getParentNode()
Deprecated.
|
boolean |
isEmpty()
Deprecated.
|
freemarker.template.TemplateCollectionModel |
keys()
Deprecated.
|
int |
size()
Deprecated.
|
freemarker.template.TemplateCollectionModel |
values()
Deprecated.
|
public String getAsString()
getAsString
in interface freemarker.template.TemplateScalarModel
public freemarker.template.TemplateModel get(String key) 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
public int size() throws freemarker.template.TemplateModelException
size
in interface freemarker.template.TemplateHashModelEx
freemarker.template.TemplateModelException
public freemarker.template.TemplateCollectionModel keys() throws freemarker.template.TemplateModelException
keys
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.TemplateNodeModel getParentNode() throws freemarker.template.TemplateModelException
getParentNode
in interface freemarker.template.TemplateNodeModel
freemarker.template.TemplateModelException
public freemarker.template.TemplateSequenceModel getChildNodes() throws freemarker.template.TemplateModelException
getChildNodes
in interface freemarker.template.TemplateNodeModel
freemarker.template.TemplateModelException
public String getNodeName() throws freemarker.template.TemplateModelException
getNodeName
in interface freemarker.template.TemplateNodeModel
freemarker.template.TemplateModelException
public String getNodeType() throws freemarker.template.TemplateModelException
getNodeType
in interface freemarker.template.TemplateNodeModel
freemarker.template.TemplateModelException
public String getNodeNamespace() throws freemarker.template.TemplateModelException
getNodeNamespace
in interface freemarker.template.TemplateNodeModel
freemarker.template.TemplateModelException
public Content asContent()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.