<html>
<head>
<title>TagExtraInfo Class</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div id="Description">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">TagExtraInfo Class</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Class name:</td>
</tr>
<tr>
<td colspan="2" class="description">

<p><span class="LITERAL">javax.servlet.jsp.tagext.TagExtraInfo</span></p>

</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Extends:</td>
</tr>
<tr>
<td colspan="2" class="description">

<p>None</p>

</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Implements:</td>
</tr>
<tr>
<td colspan="2" class="description">

<p>None</p>

</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Implemented by:</td>
</tr>
<tr>
<td colspan="2" class="description">

<p>Internal container-dependent class. Most containers use the reference
implementation of the class (developed in the Apache Jakarta
project).
</p>

</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Description</td>
</tr>
<tr>
<td colspan="2" class="description">

<p>For custom actions that create scripting variables or require
additional translation time for validation of the tag attributes, a
subclass of the <span class="LITERAL">TagExtraInfo</span> class must be
developed and declared in the TLD. The web container creates an
instance of the <span class="LITERAL">TagExtraInfo</span> subclass during the
translation phase.
</p>
</td>
</tr>
</table>
</div>
<div id="getTagInfo">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getTagInfo()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public TagInfo getTagInfo()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns the <span class="LITERAL">TagInfo</span> instance for the custom action associated with this <span class="LITERAL">TagExtraInfo</span> instance. The <span class="LITERAL">TagInfo</span> instance is set by the <span class="LITERAL">setTagInfo()</span> method (called by the web container).
</p></td>
</tr>
</table>
</div>
<div id="getVariableInfo">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getVariableInfo()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public VariableInfo[] getVariableInfo(TagData data)</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns a <span class="LITERAL">VariableInfo[]</span> array containing information about scripting variables created by the tag handler class associated with this <span class="LITERAL">TagExtraInfo</span> instance. The default implementation returns an empty array. A subclass must override this method if the corresponding tag handler creates scripting variables.
</p></td>
</tr>
</table>
</div>
<div id="isValid">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">isValid()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public boolean isValid(TagData data)</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Returns <span class="LITERAL">true</span> if the set of attribute values specified for the custom action associated with this <span class="LITERAL">TagExtraInfo</span> instance is valid and <span class="LITERAL">false</span> otherwise. The default implementation returns <span class="LITERAL">true</span>. A subclass can override this method if the validation performed by the web container based on the TLD information is not enough.
</p></td>
</tr>
</table>
</div>
<div id="setTagInfo">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">setTagInfo()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public void setTagInfo(TagInfo tagInfo)</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Sets the <span class="LITERAL">TagInfo</span> object for this instance. This method is called by the web container before any of the other methods are called.
</p></td>
</tr>
</table>
</div>
<div id="TagExtraInfo">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">TagExtraInfo()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"> </td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public TagExtraInfo()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Creates a new <span class="LITERAL">TagExtraInfo</span> instance.
</p></td>
</tr>
</table>
</div>
</body>
</html>