public abstract class BaseEncodeTag
extends javax.servlet.jsp.tagext.BodyTagSupport
Constructor and Description |
---|
BaseEncodeTag() |
Modifier and Type | Method and Description |
---|---|
int |
doAfterBody()
After tag body parsing handler.
|
protected abstract String |
encode(String content,
Encoder enc)
Encode tag's content.
|
doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
protected abstract String encode(String content, Encoder enc) throws javax.servlet.jsp.JspTagException
content
- The tag's content as a Stringenc
- Encoder provided as a convinence.javax.servlet.jsp.JspTagException
public int doAfterBody() throws javax.servlet.jsp.JspTagException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class javax.servlet.jsp.tagext.BodyTagSupport
Tag.SKIP_BODY
javax.servlet.jsp.JspTagException
- if writing to the bodyContent's
enclosing writer throws an IOException.Copyright © 2022 The Open Web Application Security Project (OWASP). All rights reserved.