Class XmlSupport
java.lang.Object
jakarta.servlet.jsp.tagext.SimpleTagSupport
net.thauvin.erik.httpstatus.taglibs.XmlSupport
- Direct Known Subclasses:
CauseTag,MessageTag,ReasonTag
Adds support for the
default and escapeXml tag attributes.- Since:
- 1.0
- Author:
- Erik C. Thauvin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDefault(String defaultValue) Sets the default value.voidsetEscapeXml(boolean escapeXml) Sets thexmlflag.Methods inherited from class jakarta.servlet.jsp.tagext.SimpleTagSupport
doTag, findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
-
Constructor Details
-
XmlSupport
public XmlSupport()
-
-
Method Details
-
setDefault
Sets the default value.- Parameters:
defaultValue- The default value
-
setEscapeXml
public void setEscapeXml(boolean escapeXml) Sets thexmlflag.- Parameters:
escapeXml-trueorfalse
-