Package org.opencms.jsp
Class CmsJspTagDisplayFormatter
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.opencms.jsp.CmsJspTagDisplayFormatter
-
- All Implemented Interfaces:
java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CmsJspTagDisplayFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doStartTag()
void
setPath(java.lang.String path)
Sets the path to the formatter configuration file.void
setType(java.lang.String type)
Sets the type.
-
-
-
Constructor Detail
-
CmsJspTagDisplayFormatter
public CmsJspTagDisplayFormatter()
-
-
Method Detail
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classjavax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
- See Also:
TagSupport.doStartTag()
-
setPath
public void setPath(java.lang.String path)
Sets the path to the formatter configuration file.- Parameters:
path
- the path to set
-
setType
public void setType(java.lang.String type)
Sets the type.- Parameters:
type
- the type to set
-
-