Package | Description |
---|---|
javax.servlet.jsp.tagext |
Classes and interfaces for the definition of JavaServer Pages Tag Libraries.
|
Modifier and Type | Interface | 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 | 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 | Description |
---|---|---|
static Tag |
TagSupport.findAncestorWithClass(Tag from,
java.lang.Class klass) |
Find the instance of a given class type that is closest to a given
instance.
|
Tag |
Tag.getParent() |
Get the parent (closest enclosing tag handler) for this tag handler.
|
Tag |
TagAdapter.getParent() |
Returns the parent of this tag, which is always
getAdaptee().getParent().
|
Tag |
TagSupport.getParent() |
The Tag instance most closely enclosing this tag instance.
|
Modifier and Type | Method | Description |
---|---|---|
static Tag |
TagSupport.findAncestorWithClass(Tag from,
java.lang.Class klass) |
Find the instance of a given class type that is closest to a given
instance.
|
void |
Tag.setParent(Tag t) |
Set the parent (closest enclosing tag handler) of this tag handler.
|
void |
TagAdapter.setParent(Tag parentTag) |
Must not be called.
|
void |
TagSupport.setParent(Tag t) |
Set the nesting tag of this tag.
|