|
||||||||||
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 info.magnolia.cms.taglibs.Out
public class Out
Writes out the content of a nodeData or - for nodeData of type binary - information of the nodeData.
Field Summary | |
---|---|
static String |
LINK_RESOLVING_ABSOLUTE
Resolve to a absolute link using the repository to uri mapping. |
static String |
LINK_RESOLVING_NONE
No uuid to link resolving. |
static String |
LINK_RESOLVING_RELATIVE
Resolve to relative path. |
static String |
NODE_NAME_NODEDATANAME
Fake nodeDataName returning the node's name. |
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 | |
---|---|
Out()
|
Method Summary | |
---|---|
int |
doEndTag()
|
String |
getDefaultValue()
|
protected String |
getFilePropertyValue(Content contentNode)
|
String |
getUuidToLink()
|
String |
getUuidToLinkRepository()
|
void |
release()
|
void |
setDateLanguage(String language)
Set which date format shall be delivered. |
void |
setDatePattern(String pattern)
Sets the output date format, as per java.text.SimpleDateFormat. |
void |
setDefaultValue(String defaultValue)
Default value used if the expresion evaluates to null or an empty string. |
void |
setEscapeXml(boolean escapeXml)
Determines whether output will be XML escaped. |
void |
setFileProperty(String property)
Sets which information of a file to retrieve. |
void |
setLineBreak(String lineBreak)
Determines how line breaks are converted. |
void |
setNodeDataName(String name)
The name of the nodeData you wish to write out (required). |
void |
setScope(String scope)
Scope for the attribute named from the "var" parameter. |
void |
setUuidToLink(String uuidToLink)
Transform a uuid value to a link. |
void |
setUuidToLinkRepository(String uuidToLinkRepository)
Used if the uuidToLink attribute is set. |
void |
setVar(String var)
If set, the result of the evaluation will be set to a variable named from this attribute (and in the scope defined using the "scope" attribute, defaulting to PAGE) instead of being written directly to the page. |
Methods inherited from class info.magnolia.cms.taglibs.BaseContentTag |
---|
getContentNode, getContentNodeCollectionName, getContentNodeName, getCurrentPage, getFirstMatchingNode, getFirtMatchingNode, getNodeDataName, getPath, getRepository, getUuid, isActpage, resolveNode, setActpage, setContentNode, setContentNodeCollectionName, setContentNodeName, setInherit, setPath, setRepository, setUuid |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, 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 |
Field Detail |
---|
public static final String NODE_NAME_NODEDATANAME
public static final String LINK_RESOLVING_NONE
public static final String LINK_RESOLVING_RELATIVE
public static final String LINK_RESOLVING_ABSOLUTE
Constructor Detail |
---|
public Out()
Method Detail |
---|
public void setNodeDataName(String name)
setNodeDataName
in class BaseContentTag
public void setVar(String var)
public void setEscapeXml(boolean escapeXml)
public void setScope(String scope)
public void setFileProperty(String property)
public void setDatePattern(String pattern)
public void setDateLanguage(String language)
java.util.Locale
.
public void setLineBreak(String lineBreak)
protected String getFilePropertyValue(Content contentNode)
public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class BaseContentTag
public String getUuidToLink()
public void setUuidToLink(String uuidToLink)
public String getUuidToLinkRepository()
public void setUuidToLinkRepository(String uuidToLinkRepository)
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |