public class CmsJspTagPdf extends javax.servlet.jsp.tagext.BodyTagSupport implements I_CmsJspTagParamParent
| Constructor and Description |
|---|
CmsJspTagPdf() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(java.lang.String name,
java.lang.String value)
Add a parameter to this tag.
|
int |
doEndTag() |
int |
doStartTag() |
static java.lang.String |
pdfTagAction(javax.servlet.ServletRequest request,
java.lang.String format,
java.lang.String content,
java.lang.String localeStr,
java.util.SortedMap<java.lang.String,java.lang.String> params,
java.lang.String paramEncoding)
The implementation of the tag.
|
void |
setContent(java.lang.String content)
Setter for the content path.
|
void |
setFormat(java.lang.String format)
Setter for the format path.
|
void |
setLocale(java.lang.String locale)
Sets the locale to use for the PDF link.
|
void |
setParamEncoding(java.lang.String encoding)
Sets the parameter encoding.
|
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic CmsJspTagPdf()
public static java.lang.String pdfTagAction(javax.servlet.ServletRequest request, java.lang.String format, java.lang.String content, java.lang.String localeStr, java.util.SortedMap<java.lang.String,java.lang.String> params, java.lang.String paramEncoding) throws CmsException
request - the current requestformat - the format pathcontent - the content pathlocaleStr - the name of the locale to include in the PDF linkparams - map of parametersparamEncoding - the character encoding to use for URL parametersCmsException - if something goes wrongpublic void addParameter(java.lang.String name, java.lang.String value)
I_CmsJspTagParamParentaddParameter in interface I_CmsJspTagParamParentname - the name of the parametervalue - the value of the parameterI_CmsJspTagParamParent.addParameter(java.lang.String, java.lang.String)public int doEndTag()
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.BodyTagSupportBodyTagSupport.doEndTag()public int doStartTag()
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.BodyTagSupportTag.doStartTag()public void setContent(java.lang.String content)
content - the content pathpublic void setFormat(java.lang.String format)
format - the format pathpublic void setLocale(java.lang.String locale)
locale - the locale to usepublic void setParamEncoding(java.lang.String encoding)
encoding - the parameter encoding