Class JspAutotagRuntime
java.lang.Object
jakarta.servlet.jsp.tagext.SimpleTagSupport
org.apache.tiles.request.jsp.autotag.JspAutotagRuntime
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.JspTag
,jakarta.servlet.jsp.tagext.SimpleTag
,AutotagRuntime<Request>
public class JspAutotagRuntime
extends jakarta.servlet.jsp.tagext.SimpleTagSupport
implements AutotagRuntime<Request>
A Runtime for implementing JSP tag libraries.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a new ModelBody instance to match the request.Creates a new Request instance.void
doTag()
<T> T
getParameter
(String name, Class<T> type, T defaultValue) Extracts a parameter from the tag.Methods inherited from class jakarta.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
-
Constructor Details
-
JspAutotagRuntime
public JspAutotagRuntime()
-
-
Method Details
-
doTag
public void doTag()- Specified by:
doTag
in interfacejakarta.servlet.jsp.tagext.SimpleTag
- Overrides:
doTag
in classjakarta.servlet.jsp.tagext.SimpleTagSupport
-
createRequest
Creates a new Request instance.- Specified by:
createRequest
in interfaceAutotagRuntime<Request>
- Returns:
- The Request.
-
createModelBody
Creates a new ModelBody instance to match the request.- Specified by:
createModelBody
in interfaceAutotagRuntime<Request>
- Returns:
- The ModelBody.
-
getParameter
Extracts a parameter from the tag.- Specified by:
getParameter
in interfaceAutotagRuntime<Request>
- Parameters:
name
- The name of the parameter.defaultValue
- The default value if none is specified.- Returns:
- The value of the parameter.
-