Package | Description |
---|---|
javax.servlet.jsp.tagext |
Classes and interfaces for the definition of Jakarta Server Pages Tag Libraries.
|
org.apache.jasper.runtime | |
org.glassfish.jsp.api |
Modifier and Type | Interface and Description |
---|---|
interface |
BodyTag
The BodyTag interface extends IterationTag by defining additional methods that let a tag handler manipulate the
content of evaluating its body.
|
interface |
IterationTag
The IterationTag interface extends Tag by defining one additional method that controls the reevaluation of its body.
|
interface |
SimpleTag
Interface for defining Simple Tag Handlers.
|
interface |
Tag
The interface of a classic tag handler that does not want to manipulate its body.
|
Modifier and Type | Class and Description |
---|---|
class |
BodyTagSupport
A base class for defining tag handlers implementing BodyTag.
|
class |
SimpleTagSupport
A base class for defining tag handlers implementing SimpleTag.
|
class |
TagAdapter
Wraps any SimpleTag and exposes it using a Tag interface.
|
class |
TagSupport
A base class for defining new tag handlers implementing Tag.
|
Modifier and Type | Method and Description |
---|---|
static JspTag |
SimpleTagSupport.findAncestorWithClass(JspTag from,
Class<?> klass)
Find the instance of a given class type that is closest to a given instance.
|
JspTag |
TagAdapter.getAdaptee()
Gets the tag that is being adapted to the Tag interface.
|
JspTag |
SimpleTag.getParent()
Returns the parent of this tag, for collaboration purposes.
|
JspTag |
SimpleTagSupport.getParent()
Returns the parent of this tag, for collaboration purposes.
|
Modifier and Type | Method and Description |
---|---|
static JspTag |
SimpleTagSupport.findAncestorWithClass(JspTag from,
Class<?> klass)
Find the instance of a given class type that is closest to a given instance.
|
void |
SimpleTag.setParent(JspTag parent)
Sets the parent of this tag, for collaboration purposes.
|
void |
SimpleTagSupport.setParent(JspTag parent)
Sets the parent of this tag, for collaboration purposes.
|
Modifier and Type | Field and Description |
---|---|
protected JspTag |
JspFragmentHelper.parentTag |
Modifier and Type | Method and Description |
---|---|
<T extends JspTag> |
TagHandlerPool.get(Class<T> handlerClass)
Gets the next available tag handler from this tag handler pool,
instantiating one if this tag handler pool is empty.
|
Modifier and Type | Method and Description |
---|---|
<T extends JspTag> |
TagHandlerPool.get(Class<T> handlerClass)
Gets the next available tag handler from this tag handler pool,
instantiating one if this tag handler pool is empty.
|
JspTag |
JspFragmentHelper.getParentTag() |
Modifier and Type | Method and Description |
---|---|
void |
TagHandlerPool.reuse(JspTag handler)
Adds the given tag handler to this tag handler pool, unless this tag
handler pool has already reached its capacity, in which case the tag
handler's release() method is called.
|
Constructor and Description |
---|
JspFragmentHelper(int discriminator,
JspContext jspContext,
JspTag parentTag) |
Modifier and Type | Method and Description |
---|---|
<T extends JspTag> |
ResourceInjector.createTagHandlerInstance(Class<T> clazz)
Instantiates and injects the given tag handler class.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceInjector.preDestroy(JspTag handler)
Invokes any @PreDestroy methods defined on the instance's class
(and super-classes).
|
Copyright © 2024. All rights reserved.