Class ArchiveTag

  • 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 ArchiveTag
    extends javax.servlet.jsp.tagext.TagSupport
    implements JcmsConstants
    This tag prints a small archive icon for a given Publication.
    Version:
    $Revision: 129335 $
    Author:
    Olivier Dedieu
    See Also:
    Serialized Form
    • Constructor Detail

      • ArchiveTag

        public ArchiveTag()
    • Method Detail

      • setId

        public void setId​(java.lang.String id)
        Overrides:
        setId in class javax.servlet.jsp.tagext.TagSupport
      • setRedirect

        public void setRedirect​(java.lang.String redirect)
      • 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
      • getArchiveIcon

        public static java.lang.String getArchiveIcon​(Publication pub,
                                                      java.lang.String contextPath,
                                                      java.lang.String userLang,
                                                      java.lang.String redirect,
                                                      java.lang.String title,
                                                      java.lang.String workspaceFilter)