Class CmsJspTagContentInfo

    • Field Summary

      • Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport

        bodyContent
      • Fields inherited from class javax.servlet.jsp.tagext.TagSupport

        id, pageContext
      • Fields inherited from interface javax.servlet.jsp.tagext.BodyTag

        EVAL_BODY_BUFFERED, EVAL_BODY_TAG
      • Fields inherited from interface javax.servlet.jsp.tagext.IterationTag

        EVAL_BODY_AGAIN
      • Fields inherited from interface javax.servlet.jsp.tagext.Tag

        EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int doEndTag()  
      int doStartTag()  
      java.lang.String getMacroValue​(java.lang.String macro)
      Resolves a single macro to the macro value, returns null if the macro could not be resolved.
      java.lang.String getValue()
      Returns the name of the content info's value that should be printed out.
      boolean isKeepEmptyMacros()
      Returns true if macros that could not be resolved are kept "as is" in the input String, false if they are replaced by an empty String.
      void release()  
      java.lang.String resolveMacros​(java.lang.String input)
      Resolves all macros in the input, replacing them with the macro values.
      void setValue​(java.lang.String value)
      Sets the name of the content info's value that should be printed out.
      protected void storeContentInfoBean​(CmsJspTagResourceLoad container)
      Stores the container's content info bean in the page context.
      • Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport

        doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
      • Methods inherited from class javax.servlet.jsp.tagext.TagSupport

        findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.servlet.jsp.tagext.Tag

        getParent, setPageContext, setParent
    • Method Detail

      • doEndTag

        public int doEndTag()
        Specified by:
        doEndTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
        See Also:
        Tag.doEndTag()
      • 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
        See Also:
        Tag.doStartTag()
      • getValue

        public java.lang.String getValue()
        Returns the name of the content info's value that should be printed out.

        Returns:
        the name of the content info's value that should be printed out
      • setValue

        public void setValue​(java.lang.String value)
        Sets the name of the content info's value that should be printed out.

        Parameters:
        value - the name of the content info's value that should be printed out