Package | Description |
---|---|
javax.servlet.jsp.tagext |
Classes and interfaces for the definition of JavaServer Pages Tag Libraries.
|
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 | Field and Description |
---|---|
private Tag |
TagSupport.parent |
private Tag |
TagAdapter.parent
The parent, of this tag, converted (if necessary) to be of type Tag.
|
Modifier and Type | Method and 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 |
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,
java.lang.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.
|