public class JcrModel
extends java.lang.Object
implements freemarker.template.TemplateNodeModel, freemarker.template.TemplateHashModel
| Modifier and Type | Method and Description |
|---|---|
freemarker.template.TemplateModel |
get(java.lang.String key) |
freemarker.template.TemplateSequenceModel |
getChildNodes() |
Node |
getNode() |
java.lang.String |
getNodeName() |
java.lang.String |
getNodeNamespace() |
java.lang.String |
getNodeType() |
freemarker.template.TemplateNodeModel |
getParentNode() |
boolean |
isEmpty() |
protected freemarker.template.TemplateModel |
propertyValues(Property property) |
public JcrModel(Node node)
public freemarker.template.TemplateSequenceModel getChildNodes()
throws freemarker.template.TemplateModelException
getChildNodes in interface freemarker.template.TemplateNodeModelfreemarker.template.TemplateModelExceptionpublic java.lang.String getNodeName()
throws freemarker.template.TemplateModelException
getNodeName in interface freemarker.template.TemplateNodeModelfreemarker.template.TemplateModelExceptionpublic java.lang.String getNodeNamespace()
throws freemarker.template.TemplateModelException
getNodeNamespace in interface freemarker.template.TemplateNodeModelfreemarker.template.TemplateModelExceptionpublic java.lang.String getNodeType()
throws freemarker.template.TemplateModelException
getNodeType in interface freemarker.template.TemplateNodeModelfreemarker.template.TemplateModelExceptionpublic freemarker.template.TemplateNodeModel getParentNode()
throws freemarker.template.TemplateModelException
getParentNode in interface freemarker.template.TemplateNodeModelfreemarker.template.TemplateModelExceptionpublic freemarker.template.TemplateModel get(java.lang.String key)
throws freemarker.template.TemplateModelException
get in interface freemarker.template.TemplateHashModelfreemarker.template.TemplateModelExceptionpublic boolean isEmpty()
throws freemarker.template.TemplateModelException
isEmpty in interface freemarker.template.TemplateHashModelfreemarker.template.TemplateModelExceptionpublic Node getNode()
protected freemarker.template.TemplateModel propertyValues(Property property) throws RepositoryException
RepositoryExceptionCopyright © 2007–2020. All rights reserved.