|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 JspTag 的软件包 | |
|---|---|
| javax.servlet.jsp.tagext | Classes and interfaces for the definition of JavaServer Pages Tag Libraries. |
| org.apache.jasper.runtime | |
| org.glassfish.jsp.api | |
| javax.servlet.jsp.tagext 中 JspTag 的使用 |
|---|
| javax.servlet.jsp.tagext 中 JspTag 的子接口 | |
|---|---|
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. |
| 实现 JspTag 的 javax.servlet.jsp.tagext 中的类 | |
|---|---|
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. |
| 返回 JspTag 的 javax.servlet.jsp.tagext 中的方法 | |
|---|---|
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 |
SimpleTagSupport.getParent()
Returns the parent of this tag, for collaboration purposes. |
JspTag |
SimpleTag.getParent()
Returns the parent of this tag, for collaboration purposes. |
| 参数类型为 JspTag 的 javax.servlet.jsp.tagext 中的方法 | |
|---|---|
static JspTag |
SimpleTagSupport.findAncestorWithClass(JspTag from,
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. |
| org.apache.jasper.runtime 中 JspTag 的使用 |
|---|
| 声明为 JspTag 的 org.apache.jasper.runtime 中的字段 | |
|---|---|
protected JspTag |
JspFragmentHelper.parentTag
|
| 类型参数类型为 JspTag 的 org.apache.jasper.runtime 中的方法 | ||
|---|---|---|
|
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 的 org.apache.jasper.runtime 中的方法 | ||
|---|---|---|
|
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()
|
|
| 参数类型为 JspTag 的 org.apache.jasper.runtime 中的方法 | |
|---|---|
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. |
| 参数类型为 JspTag 的 org.apache.jasper.runtime 中的构造方法 | |
|---|---|
JspFragmentHelper(int discriminator,
JspContext jspContext,
JspTag parentTag)
|
|
| org.glassfish.jsp.api 中 JspTag 的使用 |
|---|
| 类型参数类型为 JspTag 的 org.glassfish.jsp.api 中的方法 | ||
|---|---|---|
|
ResourceInjector.createTagHandlerInstance(Class<T> clazz)
Instantiates and injects the given tag handler class. |
|
| 参数类型为 JspTag 的 org.glassfish.jsp.api 中的方法 | |
|---|---|
void |
ResourceInjector.preDestroy(JspTag handler)
Invokes any @PreDestroy methods defined on the instance's class (and super-classes). |
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||