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.
|
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 | Field and Description |
---|---|
private JspTag |
SimpleTagSupport.parentTag
Reference to the enclosing tag.
|
Modifier and Type | Method and Description |
---|---|
static JspTag |
SimpleTagSupport.findAncestorWithClass(JspTag from,
java.lang.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 |
SimpleTagSupport.getParent()
Returns the parent of this tag, for collaboration purposes.
|
JspTag |
SimpleTag.getParent()
Returns the parent of this tag, for collaboration purposes.
|
Modifier and Type | Method and Description |
---|---|
static JspTag |
SimpleTagSupport.findAncestorWithClass(JspTag from,
java.lang.Class<?> klass)
Find the instance of a given class type that is closest to a given
instance.
|
void |
SimpleTagSupport.setParent(JspTag parent)
Sets the parent of this tag, for collaboration purposes.
|
void |
SimpleTag.setParent(JspTag parent)
Sets the parent of this tag, for collaboration purposes.
|