Class CardsDataTag

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
    Direct Known Subclasses:
    CarouselDataTag

    public class CardsDataTag
    extends CardsTag
    See Also:
    Serialized Form
    • Field Detail

      • DEFAULT_CARD_COLLECTION_RESOURCE_PREFIX

        public static final java.lang.String DEFAULT_CARD_COLLECTION_RESOURCE_PREFIX
        See Also:
        Constant Field Values
      • DEFAULT_CARD_COLLECTION_RESOURCE

        public static final java.lang.String DEFAULT_CARD_COLLECTION_RESOURCE
      • DEFAULT_COUNTER_NAME

        public static final java.lang.String DEFAULT_COUNTER_NAME
        See Also:
        Constant Field Values
      • DEFAULT_VAR_NAME

        public static final java.lang.String DEFAULT_VAR_NAME
        See Also:
        Constant Field Values
      • collection

        protected java.util.Collection<? extends Data> collection
      • var

        protected java.lang.String var
      • counterName

        protected java.lang.String counterName
      • internalIterator

        protected java.util.Iterator<? extends Data> internalIterator
      • titleTag

        protected java.lang.String titleTag
    • Constructor Detail

      • CardsDataTag

        public CardsDataTag()
    • Method Detail

      • doStartTag

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

        protected int processIteration()
                                throws javax.servlet.jsp.JspException
        Throws:
        javax.servlet.jsp.JspException
      • doAfterBody

        public int doAfterBody()
                        throws javax.servlet.jsp.JspException
        Specified by:
        doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
        Overrides:
        doAfterBody in class CardsTag
        Throws:
        javax.servlet.jsp.JspException
      • setContext

        public void setContext​(java.util.Map<java.lang.String,​java.lang.Object> map,
                               java.lang.String body)
        Overrides:
        setContext in class CardsTag
      • clean

        public void clean()
        Overrides:
        clean in class CardsTag
      • setCollection

        public void setCollection​(java.util.Collection<? extends Data> collection)
      • setVar

        public void setVar​(java.lang.String var)
      • setCounterName

        public void setCounterName​(java.lang.String counterName)
      • setTemplate

        public void setTemplate​(java.lang.String template)
      • setTitleTag

        public void setTitleTag​(java.lang.String titleTag)