com.atlassian.jira.web.tags.text
Class SplitTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
webwork.view.taglib.WebWorkTagSupport
com.atlassian.jira.web.tags.text.SplitTag
- All Implemented Interfaces:
- Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class SplitTag
- extends webwork.view.taglib.WebWorkTagSupport
Represents a JSP Tag
that is able to divide a String
into substrings, by
recognizing a separator (a.k.a. "delimiter") and make them available through an Iterator
that is pushed to the top of the ValueStack
.
- Since:
- v5.0.7
- See Also:
- Serialized Form
Fields inherited from class webwork.view.taglib.WebWorkTagSupport |
stack |
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 |
Methods inherited from class webwork.view.taglib.WebWorkTagSupport |
findString, findValue, getStack, release, setPageContext, setParent, toString |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SplitTag
public SplitTag()
getValue
public String getValue()
- Gets the specified String to be split into sub-components.
- Returns:
- A String containing the text that will be split into sub-components.
setValue
public void setValue(String value)
getSeparator
public String getSeparator()
- Gets the separator to be used to recognise the substrings in the string to be split.
- Returns:
- A String containing the separator to be used to recognise the substrings in the string to be split.
setSeparator
public void setSeparator(String separator)
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class webwork.view.taglib.WebWorkTagSupport
- Throws:
javax.servlet.jsp.JspException
Copyright © 2002-2013 Atlassian. All Rights Reserved.