Class CMSContentSlotTag

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

    public class CMSContentSlotTag
    extends javax.servlet.jsp.tagext.BodyTagSupport
    implements javax.servlet.jsp.tagext.DynamicAttributes
    See Also:
    Serialized Form
    • Field Detail

      • uidAttribute

        protected java.lang.String uidAttribute
      • varAttribute

        protected java.lang.String varAttribute
      • limitAttribute

        protected java.lang.Integer limitAttribute
      • elementAttribute

        protected java.lang.String elementAttribute
      • dynamicAttributes

        protected java.util.Map<java.lang.String,​java.lang.String> dynamicAttributes
      • currentIndex

        protected int currentIndex
      • currentContentSlotFromMaster

        protected boolean currentContentSlotFromMaster
      • currentContentSlotPosition

        protected java.lang.String currentContentSlotPosition
    • Constructor Detail

      • CMSContentSlotTag

        public CMSContentSlotTag()
    • Method Detail

      • setUid

        public void setUid​(java.lang.String uid)
      • setPosition

        public void setPosition​(java.lang.String position)
      • setVar

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

        public void setLimit​(java.lang.Integer limit)
      • setElement

        public void setElement​(java.lang.String element)
      • setDynamicAttribute

        public void setDynamicAttribute​(java.lang.String uri,
                                        java.lang.String localName,
                                        java.lang.Object value)
                                 throws javax.servlet.jsp.JspException
        Specified by:
        setDynamicAttribute in interface javax.servlet.jsp.tagext.DynamicAttributes
        Throws:
        javax.servlet.jsp.JspException
      • attributeToString

        protected java.lang.String attributeToString​(java.lang.Object value)
      • release

        public void release()
        Specified by:
        release in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        release in class javax.servlet.jsp.tagext.BodyTagSupport
      • resetAttributes

        protected final void resetAttributes()
      • resetState

        protected final void resetState()
      • lookupCMSDynamicAttributeServices

        protected java.util.Collection<CMSDynamicAttributeService> lookupCMSDynamicAttributeServices()
      • loadServices

        protected void loadServices()
      • prepare

        protected void prepare()
      • createLiveEditAttributes

        protected java.util.Map<java.lang.String,​java.lang.String> createLiveEditAttributes()
      • 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.BodyTagSupport
        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 javax.servlet.jsp.tagext.BodyTagSupport
        Throws:
        javax.servlet.jsp.JspException
      • setBodyContent

        public void setBodyContent​(javax.servlet.jsp.tagext.BodyContent bodyContent)
        Specified by:
        setBodyContent in interface javax.servlet.jsp.tagext.BodyTag
        Overrides:
        setBodyContent in class javax.servlet.jsp.tagext.BodyTagSupport
      • increment

        protected void increment()
      • hasSlot

        protected boolean hasSlot()
      • hasItem

        protected boolean hasItem()
      • beforeAllItems

        protected void beforeAllItems()
      • afterAllItems

        protected void afterAllItems()
      • noSlot

        protected void noSlot()
      • noItems

        protected void noItems()
      • beforeItem

        protected void beforeItem()
      • afterItem

        protected void afterItem()
      • exposeVariables

        protected void exposeVariables()
      • unExposeVariables

        protected void unExposeVariables()
      • writeOpenElement

        protected void writeOpenElement()
      • getElementAttributes

        protected java.util.Map<java.lang.String,​java.lang.String> getElementAttributes()
      • writeEndElement

        protected void writeEndElement()
      • getElementCssClass

        protected java.lang.String getElementCssClass()
      • getElementName

        protected java.lang.String getElementName()