| Package | Description |
|---|---|
| javax.servlet.jsp.tagext | |
| org.apache.jasper.runtime |
| 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BodyTagSupport
A base class for defining tag handlers implementing BodyTag.
|
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 Tag |
TagSupport.findAncestorWithClass(Tag from,
Class klass)
Find the instance of a given class type that is closest to a given
instance.
|
Tag |
TagSupport.getParent()
The Tag instance most closely enclosing this tag instance.
|
Tag |
TagAdapter.getParent()
Returns the parent of this tag, which is always getAdaptee().getParent().
|
Tag |
Tag.getParent()
Get the parent (closest enclosing tag handler) for this tag handler.
|
| Modifier and Type | Method and Description |
|---|---|
static Tag |
TagSupport.findAncestorWithClass(Tag from,
Class klass)
Find the instance of a given class type that is closest to a given
instance.
|
void |
TagSupport.setParent(Tag t)
Set the nesting tag of this tag.
|
void |
TagAdapter.setParent(Tag parentTag)
Must not be called.
|
void |
Tag.setParent(Tag t)
Set the parent (closest enclosing tag handler) of this tag handler.
|
| Modifier and Type | Method and Description |
|---|---|
Tag |
TagHandlerPool.get(Class<? extends Tag> 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 |
|---|---|
protected static void |
JspRuntimeLibrary.releaseTag(Tag tag,
InstanceManager instanceManager) |
static void |
JspRuntimeLibrary.releaseTag(Tag tag,
InstanceManager instanceManager,
boolean reused) |
void |
TagHandlerPool.reuse(Tag 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.
|
| Modifier and Type | Method and Description |
|---|---|
Tag |
TagHandlerPool.get(Class<? extends Tag> handlerClass)
Gets the next available tag handler from this tag handler pool,
instantiating one if this tag handler pool is empty.
|
Copyright © 2014–2021. All rights reserved.