Class PdfTag

  • All Implemented Interfaces:
    JcmsConstants, JaliosConstants, java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    public class PdfTag
    extends javax.servlet.jsp.tagext.TagSupport
    implements JcmsConstants
    This tag displays a PDF icon to access the PDF version (if it exists) of the given file.
    Version:
    $Revision: 119523 $
    Author:
    Olivier Dedieu
    See Also:
    QueryHandler, Serialized Form
    • Constructor Detail

      • PdfTag

        public PdfTag()
    • Method Detail

      • setFile

        public void setFile​(java.lang.String filename)
      • setTarget

        public void setTarget​(java.lang.String target)
      • doStartTag

        public int doStartTag()
                       throws javax.servlet.jsp.JspException
        Specified by:
        doStartTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doStartTag in class javax.servlet.jsp.tagext.TagSupport
        Throws:
        javax.servlet.jsp.JspException
      • doEndTag

        public int doEndTag()
        Specified by:
        doEndTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doEndTag in class javax.servlet.jsp.tagext.TagSupport