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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setDefault
(String defaultValue) Sets the default value.void
setEscapeXml
(boolean escapeXml) Sets thexml
flag.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 thexml
flag.- Parameters:
escapeXml
-true
orfalse
-