|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport info.magnolia.cms.taglibs.BaseContentTag
public abstract class BaseContentTag
Base class for implementing content tags (e.g. ContentNodeIterator
).
Field Summary |
---|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
BaseContentTag()
|
Method Summary | |
---|---|
Content |
getContentNode()
|
protected String |
getContentNodeCollectionName()
|
protected String |
getContentNodeName()
|
protected Content |
getCurrentPage()
|
protected Content |
getFirstMatchingNode()
Get the first matching node containing a NodeData named nodeDataName . |
protected Content |
getFirtMatchingNode()
Deprecated. Use getFirstMatchingNode() instead |
protected String |
getNodeDataName()
|
String |
getPath()
|
String |
getRepository()
|
String |
getUuid()
|
boolean |
isActpage()
|
void |
release()
|
protected Content |
resolveNode(Content currentPage)
|
void |
setActpage(boolean actpage)
Deprecated. |
void |
setContentNode(Content content)
The content object to use. |
void |
setContentNodeCollectionName(String name)
Name of the collection holding the content node, e.g. |
void |
setContentNodeName(String name)
Inside a "contentNodeIterator": if not set, the current content node is taken. |
void |
setInherit(boolean inherit)
Inherit the value from parent pages, if not set in the current one. |
void |
setNodeDataName(String name)
Set the node data name, e.g. |
void |
setPath(String path)
The absolute path to the content. |
void |
setRepository(String repository)
Used if the uuid or path attribute is set. |
void |
setUuid(String uuid)
The uuid to use for finding the content. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseContentTag()
Method Detail |
---|
public void setNodeDataName(String name)
public void setContentNodeName(String name)
public void setContentNodeCollectionName(String name)
public void setInherit(boolean inherit)
protected Content getFirtMatchingNode()
getFirstMatchingNode()
instead
protected Content getFirstMatchingNode()
nodeDataName
.
protected Content getCurrentPage()
protected Content resolveNode(Content currentPage)
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
public boolean isActpage()
public void setActpage(boolean actpage)
public String getRepository()
public void setRepository(String repository)
public String getUuid()
public void setUuid(String uuid)
public String getPath()
public void setPath(String path)
public Content getContentNode()
public void setContentNode(Content content)
protected String getNodeDataName()
protected String getContentNodeName()
protected String getContentNodeCollectionName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |