public class TagletAdapter extends 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 FormbodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor 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(HttpServletRequest servletRequest,
Environment environment) |
static Request |
getRequest(PageContext pageContext) |
void |
setApplication(String application)
set the application name
|
void |
setMethod(String method)
set the method name
|
void |
setPageContext(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(PageContext pageContext)
setPageContext
in interface Tag
setPageContext
in class TagSupport
public static Request getRequest(PageContext pageContext)
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class BodyTagSupport
JspException
public final int doEndTag()
doEndTag
in interface Tag
doEndTag
in class BodyTagSupport
protected MultiSiteSupport getMultiSiteSupport(HttpServletRequest servletRequest, Environment environment) throws JspException
JspException
protected Environment getEnvironment()
public void addParameter(String name, String value)
addParameter
in interface ParameterOwner
Copyright © 2011–2017 aiticon GmbH. All rights reserved.