Package com.day.cq.wcm.tags
Class TextTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.day.cq.wcm.tags.TextTag
-
- All Implemented Interfaces:
Serializable,BodyTag,IterationTag,JspTag,Tag
public class TextTag extends BodyTagSupport
TextTag...- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_PLACEHOLDER-
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
-
-
Constructor Summary
Constructors Constructor Description TextTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdoAfterBody()After the body evaluation: do not reevaluate and continue with the page.intdoEndTag()Default processing of the end tag returning EVAL_PAGE.intdoStartTag()Default processing of the start tag returning EVAL_BODY_BUFFERED.voidrelease()Release state.voidsetDefault(String def)voidsetEnforceFilterHTML(boolean enforceFilterHTML)voidsetEscapeXml(boolean escapeXml)voidsetFormat(Format fmt)voidsetNoDiff(boolean noDiff)voidsetOldValue(Object oldValue)voidsetPlaceholder(String def)voidsetProperty(String propertyName)voidsetTagClass(String tagClass)voidsetTagName(String tagName)voidsetValue(Object value)-
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
-
-
-
-
Field Detail
-
DEFAULT_PLACEHOLDER
public static final String DEFAULT_PLACEHOLDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
release
public void release()
Description copied from class:BodyTagSupportRelease state.- Specified by:
releasein interfaceTag- Overrides:
releasein classBodyTagSupport- See Also:
Tag.release()
-
doStartTag
public int doStartTag() throws JspExceptionDescription copied from class:BodyTagSupportDefault processing of the start tag returning EVAL_BODY_BUFFERED.- Specified by:
doStartTagin interfaceTag- Overrides:
doStartTagin classBodyTagSupport- Returns:
- EVAL_BODY_BUFFERED
- Throws:
JspException- if an error occurred while processing this tag- See Also:
Tag.doStartTag()
-
doAfterBody
public int doAfterBody() throws JspExceptionDescription copied from class:BodyTagSupportAfter the body evaluation: do not reevaluate and continue with the page. By default nothing is done with the bodyContent data (if any).- Specified by:
doAfterBodyin interfaceIterationTag- Overrides:
doAfterBodyin classBodyTagSupport- Returns:
- SKIP_BODY
- Throws:
JspException- if an error occurred while processing this tag- See Also:
BodyTagSupport.doInitBody(),IterationTag.doAfterBody()
-
doEndTag
public int doEndTag() throws JspExceptionDescription copied from class:BodyTagSupportDefault processing of the end tag returning EVAL_PAGE.- Specified by:
doEndTagin interfaceTag- Overrides:
doEndTagin classBodyTagSupport- Returns:
- EVAL_PAGE
- Throws:
JspException- if an error occurred while processing this tag- See Also:
Tag.doEndTag()
-
setValue
public void setValue(Object value)
-
setDefault
public void setDefault(String def)
-
setProperty
public void setProperty(String propertyName)
-
setFormat
public void setFormat(Format fmt)
-
setEscapeXml
public void setEscapeXml(boolean escapeXml)
-
setEnforceFilterHTML
public void setEnforceFilterHTML(boolean enforceFilterHTML)
-
setNoDiff
public void setNoDiff(boolean noDiff)
-
setPlaceholder
public void setPlaceholder(String def)
-
setOldValue
public void setOldValue(Object oldValue)
-
setTagClass
public void setTagClass(String tagClass)
-
setTagName
public void setTagName(String tagName)
-
-