Package | Description |
---|---|
info.magnolia.rendering.model | |
info.magnolia.templating.functions | |
info.magnolia.templating.jsp.cmsfn |
This file Copyright (c) 2011-2015 Magnolia International
Ltd.
|
Modifier and Type | Field and Description |
---|---|
protected ContentMap |
RenderingModelImpl.contentMap |
Modifier and Type | Method and Description |
---|---|
ContentMap |
RenderingModelImpl.getContent() |
ContentMap |
RenderingModel.getContent()
Map representation of the content node tied to this model.
|
Modifier and Type | Method and Description |
---|---|
ContentMap |
TemplatingFunctions.asContentMap(javax.jcr.Node content) |
ContentMap |
TemplatingFunctions.contentById(String id)
Return the ContentMap by the given identifier from the website repository.
|
ContentMap |
TemplatingFunctions.contentById(String id,
String workspace)
Return the ContentMap by the given identifier from the given repository.
|
ContentMap |
TemplatingFunctions.contentByPath(String path)
Return the ContentMap for the given path from the website repository.
|
ContentMap |
TemplatingFunctions.contentByPath(String path,
String workspace)
Return the ContentMap for the given path from the given repository.
|
ContentMap |
TemplatingFunctions.decode(ContentMap content)
Removes escaping of HTML on properties.
|
ContentMap |
TemplatingFunctions.encode(ContentMap content)
Adds escaping of HTML on properties as well as changing line breaks into <br/> tags.
|
ContentMap |
TemplatingFunctions.inherit(ContentMap content) |
ContentMap |
TemplatingFunctions.inherit(ContentMap content,
String relPath) |
ContentMap |
TemplatingFunctions.inherit(ContentMap content,
String relPath,
String nodeTypes,
String nodeInheritance,
String propertyInheritance) |
ContentMap |
TemplatingFunctions.page(ContentMap content)
Returns the page's
ContentMap of the passed ContentMap . |
ContentMap |
TemplatingFunctions.parent(ContentMap contentMap) |
ContentMap |
TemplatingFunctions.parent(ContentMap contentMap,
String nodeTypeName) |
ContentMap |
TemplatingFunctions.root(ContentMap contentMap) |
ContentMap |
TemplatingFunctions.root(ContentMap contentMap,
String nodeTypeName) |
Modifier and Type | Method and Description |
---|---|
List<ContentMap> |
TemplatingFunctions.ancestors(ContentMap contentMap) |
List<ContentMap> |
TemplatingFunctions.ancestors(ContentMap contentMap,
String nodeTypeName) |
List<ContentMap> |
TemplatingFunctions.asContentMapList(Collection<javax.jcr.Node> nodeList) |
protected List<ContentMap> |
TemplatingFunctions.asContentMapList(Iterable<javax.jcr.Node> nodes) |
List<ContentMap> |
TemplatingFunctions.children(ContentMap content) |
List<ContentMap> |
TemplatingFunctions.children(ContentMap content,
String nodeTypeName) |
List<ContentMap> |
TemplatingFunctions.inheritList(ContentMap content,
String relPath) |
Modifier and Type | Method and Description |
---|---|
List<ContentMap> |
TemplatingFunctions.ancestors(ContentMap contentMap) |
List<ContentMap> |
TemplatingFunctions.ancestors(ContentMap contentMap,
String nodeTypeName) |
javax.jcr.Node |
TemplatingFunctions.asJCRNode(ContentMap contentMap) |
List<ContentMap> |
TemplatingFunctions.children(ContentMap content) |
List<ContentMap> |
TemplatingFunctions.children(ContentMap content,
String nodeTypeName) |
ContentMap |
TemplatingFunctions.decode(ContentMap content)
Removes escaping of HTML on properties.
|
ContentMap |
TemplatingFunctions.encode(ContentMap content)
Adds escaping of HTML on properties as well as changing line breaks into <br/> tags.
|
String |
TemplatingFunctions.externalLink(ContentMap content,
String linkPropertyName)
Returns an external link prepended with
http:// in case the protocol is missing or an empty String
if the link does not exist. |
String |
TemplatingFunctions.externalLinkTitle(ContentMap content,
String linkPropertyName,
String linkTitlePropertyName)
Return a link title based on the @param linkTitlePropertyName.
|
ContentMap |
TemplatingFunctions.inherit(ContentMap content) |
ContentMap |
TemplatingFunctions.inherit(ContentMap content,
String relPath) |
ContentMap |
TemplatingFunctions.inherit(ContentMap content,
String relPath,
String nodeTypes,
String nodeInheritance,
String propertyInheritance) |
List<ContentMap> |
TemplatingFunctions.inheritList(ContentMap content,
String relPath) |
javax.jcr.Property |
TemplatingFunctions.inheritProperty(ContentMap content,
String relPath) |
boolean |
TemplatingFunctions.isFromCurrentPage(ContentMap content) |
boolean |
TemplatingFunctions.isInherited(ContentMap content) |
String |
TemplatingFunctions.link(ContentMap contentMap) |
String |
TemplatingFunctions.metaData(ContentMap content,
String property) |
ContentMap |
TemplatingFunctions.page(ContentMap content)
Returns the page's
ContentMap of the passed ContentMap . |
ContentMap |
TemplatingFunctions.parent(ContentMap contentMap) |
ContentMap |
TemplatingFunctions.parent(ContentMap contentMap,
String nodeTypeName) |
ContentMap |
TemplatingFunctions.root(ContentMap contentMap) |
ContentMap |
TemplatingFunctions.root(ContentMap contentMap,
String nodeTypeName) |
SiblingsHelper |
TemplatingFunctions.siblings(ContentMap node) |
Modifier and Type | Method and Description |
---|---|
List<javax.jcr.Node> |
TemplatingFunctions.asNodeList(Collection<ContentMap> contentMapList) |
Modifier and Type | Method and Description |
---|---|
static ContentMap |
JspTemplatingFunction.asContentMap(javax.jcr.Node content) |
static ContentMap |
JspTemplatingFunction.decode(ContentMap content)
Removes escaping of HTML on properties.
|
static ContentMap |
JspTemplatingFunction.inherit(ContentMap content,
String relPath) |
static ContentMap |
JspTemplatingFunction.inherit(ContentMap content,
String relPath,
String nodeTypes,
String nodeInheritance,
String propertyInheritance) |
static ContentMap |
JspTemplatingFunction.page(ContentMap content)
Returns the page's
ContentMap of the passed ContentMap . |
static ContentMap |
JspTemplatingFunction.parent(ContentMap contentMap,
String nodeTypeName) |
static ContentMap |
JspTemplatingFunction.root(ContentMap contentMap,
String nodeTypeName) |
Modifier and Type | Method and Description |
---|---|
static List<ContentMap> |
JspTemplatingFunction.ancestors(ContentMap contentMap,
String nodeTypeName) |
static List<ContentMap> |
JspTemplatingFunction.asContentMapList(Collection<javax.jcr.Node> nodeList) |
static List<ContentMap> |
JspTemplatingFunction.children(ContentMap content,
String nodeTypeName) |
static List<ContentMap> |
JspTemplatingFunction.inheritList(ContentMap content,
String relPath) |
Modifier and Type | Method and Description |
---|---|
static List<ContentMap> |
JspTemplatingFunction.ancestors(ContentMap contentMap,
String nodeTypeName) |
static javax.jcr.Node |
JspTemplatingFunction.asJCRNode(ContentMap contentMap) |
static List<ContentMap> |
JspTemplatingFunction.children(ContentMap content,
String nodeTypeName) |
static ContentMap |
JspTemplatingFunction.decode(ContentMap content)
Removes escaping of HTML on properties.
|
static String |
JspTemplatingFunction.externalLink(ContentMap content,
String linkPropertyName)
Returns an external link prepended with
http:// in case the protocol is missing or an empty String
if the link does not exist. |
static String |
JspTemplatingFunction.externalLinkTitle(ContentMap content,
String linkPropertyName,
String linkTitlePropertyName)
Return a link title based on the @param linkTitlePropertyName.
|
static ContentMap |
JspTemplatingFunction.inherit(ContentMap content,
String relPath) |
static ContentMap |
JspTemplatingFunction.inherit(ContentMap content,
String relPath,
String nodeTypes,
String nodeInheritance,
String propertyInheritance) |
static List<ContentMap> |
JspTemplatingFunction.inheritList(ContentMap content,
String relPath) |
static javax.jcr.Property |
JspTemplatingFunction.inheritProperty(ContentMap content,
String relPath) |
static boolean |
JspTemplatingFunction.isFromCurrentPage(ContentMap content) |
static boolean |
JspTemplatingFunction.isInherited(ContentMap content) |
static String |
JspTemplatingFunction.link(ContentMap contentMap) |
static String |
JspTemplatingFunction.link(ContentMap contentMap,
String propertyName) |
static String |
JspTemplatingFunction.metaData(ContentMap content,
String property)
Returns the string representation of a property from the metaData of the node or
null if the node has no Magnolia metaData or if no matching property is found. |
static ContentMap |
JspTemplatingFunction.page(ContentMap content)
Returns the page's
ContentMap of the passed ContentMap . |
static ContentMap |
JspTemplatingFunction.parent(ContentMap contentMap,
String nodeTypeName) |
static ContentMap |
JspTemplatingFunction.root(ContentMap contentMap,
String nodeTypeName) |
static SiblingsHelper |
JspTemplatingFunction.siblings(ContentMap node)
Returns an instance of SiblingsHelper for the given contentMap.
|
Modifier and Type | Method and Description |
---|---|
static List<javax.jcr.Node> |
JspTemplatingFunction.asNodeList(Collection<ContentMap> contentMapList) |
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.