public class TagletAdapter extends javax.servlet.jsp.tagext.BodyTagSupport implements ParameterOwner
Taglet
/GlobalTaglet
/XMLTaglet
/GlobalXMLTaglet
)
into an Tag
.
Attributes:
Application
that contains the taglettext
or xml
<appNG:taglet application="acme" method="tagletname"> <appNG:param name="foo">bar</appNG:param> <appNG:param name="jin">fizzbar</appNG:param> </appNG:taglet>
Taglet
,
GlobalTaglet
,
XMLTaglet
,
GlobalXMLTaglet
,
Serialized FormConstructor and Description |
---|
TagletAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
addParameter(String name,
String value) |
int |
doEndTag() |
int |
doStartTag() |
protected Environment |
getEnvironment() |
protected MultiSiteSupport |
getMultiSiteSupport(javax.servlet.http.HttpServletRequest servletRequest,
Environment environment) |
static Request |
getRequest(javax.servlet.jsp.PageContext pageContext) |
void |
setApplication(String application)
set the application name
|
void |
setMethod(String method)
set the method name
|
void |
setPageContext(javax.servlet.jsp.PageContext pageContext) |
void |
setType(String type)
set the taglet type
|
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
public void setApplication(String application)
application
- public void setMethod(String method)
method
- public void setType(String type)
type
- public void setPageContext(javax.servlet.jsp.PageContext pageContext)
setPageContext
in interface javax.servlet.jsp.tagext.Tag
setPageContext
in class javax.servlet.jsp.tagext.TagSupport
public static Request getRequest(javax.servlet.jsp.PageContext pageContext)
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public final int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
protected MultiSiteSupport getMultiSiteSupport(javax.servlet.http.HttpServletRequest servletRequest, Environment environment) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
protected Environment getEnvironment()
public void addParameter(String name, String value)
addParameter
in interface ParameterOwner
Copyright © 2011–2017 aiticon GmbH. All rights reserved.