|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.infoglue.deliver.taglib.AbstractTag
org.infoglue.deliver.taglib.content.DigitalAssetParameterTag
public class DigitalAssetParameterTag
This class implements the <content:digitalAssetParameter> tag, which adds an asset to the list of assets in the contentVersion. Note! This tag must have a <content:contentVersionParameter> ancestor.
| Field Summary |
|---|
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
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 | |
|---|---|
DigitalAssetParameterTag()
Default constructor. |
|
| Method Summary | |
|---|---|
protected void |
addDigitalAsset()
Adds the digital asset to the ancestor tag. |
int |
doEndTag()
Adds a parameter with the specified name and value to the parameters of the parent tag. |
void |
setAssetKey(java.lang.String assetKey)
Sets the assetKey attribute. |
void |
setBytes(java.lang.String bytes)
Sets the bytes attribute to the specified evaluated bytes. |
void |
setContentType(java.lang.String contentType)
Sets the contentType attribute. |
void |
setFile(java.lang.String file)
Sets the file attribute to the specified evaluated file. |
void |
setFileItem(java.lang.String fileItem)
Sets the FileItem attribute to the specified evaluated fileItem. |
void |
setFileName(java.lang.String fileName)
Sets the fileName attribute. |
void |
setFilePath(java.lang.String filePath)
Sets the filePath attribute. |
| Methods inherited from class org.infoglue.deliver.taglib.AbstractTag |
|---|
evaluate, evaluateCollection, evaluateInteger, evaluateList, evaluateString, produceResult, setId, setResultAttribute, write |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DigitalAssetParameterTag()
| Method Detail |
|---|
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - if an error occurred while processing this tag.
protected void addDigitalAsset()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException - if the ancestor tag isn't a content version tag.
public void setAssetKey(java.lang.String assetKey)
throws javax.servlet.jsp.JspException
assetKey - the assetKey to use.
javax.servlet.jsp.JspException - if an error occurs while evaluating name parameter.
public void setFileName(java.lang.String fileName)
throws javax.servlet.jsp.JspException
fileName - the fileName to use.
javax.servlet.jsp.JspException - if an error occurs while evaluating name parameter.
public void setFilePath(java.lang.String filePath)
throws javax.servlet.jsp.JspException
filePath - the filePath to use.
javax.servlet.jsp.JspException - if an error occurs while evaluating name parameter.
public void setContentType(java.lang.String contentType)
throws javax.servlet.jsp.JspException
contentType - the contentType to use.
javax.servlet.jsp.JspException - if an error occurs while evaluating name parameter.
public void setBytes(java.lang.String bytes)
throws javax.servlet.jsp.JspException
name - the contents of the attachment.
javax.servlet.jsp.JspException - if an error occurs while evaluating the bytes.
public void setFile(java.lang.String file)
throws javax.servlet.jsp.JspException
file - the contents of the attachment.
javax.servlet.jsp.JspException - if an error occurs while evaluating the file.
public void setFileItem(java.lang.String fileItem)
throws javax.servlet.jsp.JspException
fileItem - the contents of the attachment.
javax.servlet.jsp.JspException - if an error occurs while evaluating the fileItem.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||