Class CmsJspTagDisplayFormatter

java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.opencms.jsp.CmsJspTagDisplayFormatter
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class CmsJspTagDisplayFormatter extends javax.servlet.jsp.tagext.TagSupport
The tag 'displayFormatter' can be used to add a formatter resource type pairing to the surrounding 'display' tag.

See Also:
  • Field Summary

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

    id, pageContext

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    void
    Sets the path to the formatter configuration file.
    void
    Sets the key of the formatter to use.
    void
    Sets the path to the formatter configuration file.
    void
    Sets the type.

    Methods inherited from class javax.servlet.jsp.tagext.TagSupport

    doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • 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
      See Also:
      • TagSupport.doStartTag()
    • setFormatter

      public void setFormatter(String path)
      Sets the path to the formatter configuration file.

      Parameters:
      path - the path to set
    • setFormatterKey

      public void setFormatterKey(String key)
      Sets the key of the formatter to use.
      Parameters:
      key - the formatter key
    • setPath

      public void setPath(String path)
      Sets the path to the formatter configuration file.

      Parameters:
      path - the path to set
    • setType

      public void setType(String type)
      Sets the type.

      Parameters:
      type - the type to set