com.caucho.jsp.cfg
Class TldTag

java.lang.Object
  extended by com.caucho.jsp.cfg.TldTag
All Implemented Interfaces:
DependencyBean
Direct Known Subclasses:
JsfTag

public class TldTag
extends java.lang.Object
implements DependencyBean

Configuration for the taglib tag in the .tld


Constructor Summary
TldTag()
           
 
Method Summary
 void addAttribute(TldAttribute attribute)
          Adds an attribute.
 void addDependency(PersistentDependency dependency)
          Adds a dependency.
 void addFragmentAttribute(TldFragmentAttribute attribute)
          Adds an fragmentAttribute.
 void addVariable(TldVariable variable)
          Adds a variable.
 boolean equals(java.lang.Object o)
           
 java.util.ArrayList getAttributeList()
          Gets the attributes
 TagAttributeInfo[] getAttributes()
          Returns the attributes.
 TldTag getBaseTag()
           
 java.lang.String getBodyContent()
          Gets the body-content
 java.util.ArrayList<Dependency> getDependencyList()
          Returns the dependency.
 java.lang.String getDescription()
          Gets the description
 java.lang.String getDisplayName()
          Gets the display-name
 java.lang.String getDynamicAttributeName()
          Gets the dynamic-attrisavesavebutes
 boolean getDynamicAttributes()
          Gets the dynamic-attributes
 java.lang.String getExample()
          Gets the example
 java.util.ArrayList getFragmentAttributes()
          Returns the attributes.
 java.lang.String getInfo()
          Gets the info
 java.lang.String getLargeIcon()
          Gets the large-icon
 java.lang.String getName()
          Gets the tag name, i.e.
 java.lang.String getSmallIcon()
          Gets the small-icon
 java.lang.Class getTagClass()
          Gets the tag class
 java.lang.String getTagClassName()
          Gets the tag class
 TagExtraInfo getTagExtraInfo()
          Gets the tei object
 java.lang.String getTeiClassName()
          Gets the tei class
 java.util.ArrayList<TagVariableInfo> getVariableList()
          Gets the variables
 TagVariableInfo[] getVariables()
          Returns the variables.
 int hashCode()
           
 void setBaseTag(TldTag tag)
           
 void setBodycontent(java.lang.String bodyContent)
          Sets the bodycontent (backwards compat)
 void setBodyContent(java.lang.String bodyContent)
          Sets the body-content
 void setConfigLocation(java.lang.String filename, int line)
          Sets the config location.
 void setDescription(java.lang.String description)
          Sets the description
 void setDisplayName(java.lang.String displayName)
          Sets the display-name
 void setDynamicAttributeName(java.lang.String name)
          Sets the dynamic-attributes
 void setDynamicAttributes(boolean dynamicAttributes)
          Sets the dynamic-attributes
 void setExample(java.lang.String example)
          Sets the example
 void setIcon(Icon icon)
          Sets the icon.
 void setInfo(java.lang.String info)
          Sets the info
 void setLargeIcon(java.lang.String largeIcon)
          Sets the large-icon
 void setName(java.lang.String name)
          Sets the tag name, i.e.
 void setSmallIcon(java.lang.String smallIcon)
          Sets the small-icon
 void setTagclass(java.lang.String tagClassName)
          Sets the tei class
 void setTagClass(java.lang.String tagClassName)
          Sets the tag class
 void setTeiclass(java.lang.String teiClassName)
          Old-style setting of the tei class
 void setTeiClass(java.lang.String teiClassName)
          Sets the tei class
 java.lang.String toString()
           
 void validate()
          validates.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TldTag

public TldTag()
Method Detail

setConfigLocation

public void setConfigLocation(java.lang.String filename,
                              int line)
Sets the config location.


addDependency

public void addDependency(PersistentDependency dependency)
Adds a dependency.

Specified by:
addDependency in interface DependencyBean

getDependencyList

public java.util.ArrayList<Dependency> getDependencyList()
Returns the dependency.


setName

public void setName(java.lang.String name)
Sets the tag name, i.e. the local name.


getName

public java.lang.String getName()
Gets the tag name, i.e. the local name.


setIcon

public void setIcon(Icon icon)
Sets the icon.


setTagClass

public void setTagClass(java.lang.String tagClassName)
                 throws ConfigException
Sets the tag class

Throws:
ConfigException

setTagclass

public void setTagclass(java.lang.String tagClassName)
                 throws ConfigException,
                        java.lang.InstantiationException,
                        java.lang.IllegalAccessException
Sets the tei class

Throws:
ConfigException
java.lang.InstantiationException
java.lang.IllegalAccessException

getTagClass

public java.lang.Class getTagClass()
Gets the tag class


getTagClassName

public java.lang.String getTagClassName()
Gets the tag class


setTeiClass

public void setTeiClass(java.lang.String teiClassName)
                 throws ConfigException
Sets the tei class

Throws:
ConfigException

setTeiclass

public void setTeiclass(java.lang.String teiClassName)
                 throws ConfigException
Old-style setting of the tei class

Throws:
ConfigException

getTeiClassName

public java.lang.String getTeiClassName()
Gets the tei class


getTagExtraInfo

public TagExtraInfo getTagExtraInfo()
Gets the tei object


setBodyContent

public void setBodyContent(java.lang.String bodyContent)
Sets the body-content


setBodycontent

public void setBodycontent(java.lang.String bodyContent)
Sets the bodycontent (backwards compat)


getBodyContent

public java.lang.String getBodyContent()
Gets the body-content


setDisplayName

public void setDisplayName(java.lang.String displayName)
Sets the display-name


getDisplayName

public java.lang.String getDisplayName()
Gets the display-name


setInfo

public void setInfo(java.lang.String info)
Sets the info


getInfo

public java.lang.String getInfo()
Gets the info


setSmallIcon

public void setSmallIcon(java.lang.String smallIcon)
Sets the small-icon


getSmallIcon

public java.lang.String getSmallIcon()
Gets the small-icon


setLargeIcon

public void setLargeIcon(java.lang.String largeIcon)
Sets the large-icon


getLargeIcon

public java.lang.String getLargeIcon()
Gets the large-icon


setDescription

public void setDescription(java.lang.String description)
Sets the description


getDescription

public java.lang.String getDescription()
Gets the description


addVariable

public void addVariable(TldVariable variable)
                 throws ConfigException
Adds a variable.

Throws:
ConfigException

getVariableList

public java.util.ArrayList<TagVariableInfo> getVariableList()
Gets the variables


getVariables

public TagVariableInfo[] getVariables()
Returns the variables.


addAttribute

public void addAttribute(TldAttribute attribute)
Adds an attribute.


getAttributeList

public java.util.ArrayList getAttributeList()
Gets the attributes


getAttributes

public TagAttributeInfo[] getAttributes()
Returns the attributes.


addFragmentAttribute

public void addFragmentAttribute(TldFragmentAttribute attribute)
Adds an fragmentAttribute.


getFragmentAttributes

public java.util.ArrayList getFragmentAttributes()
Returns the attributes.


setExample

public void setExample(java.lang.String example)
Sets the example


getDynamicAttributes

public boolean getDynamicAttributes()
Gets the dynamic-attributes


setDynamicAttributes

public void setDynamicAttributes(boolean dynamicAttributes)
Sets the dynamic-attributes


getDynamicAttributeName

public java.lang.String getDynamicAttributeName()
Gets the dynamic-attrisavesavebutes


setDynamicAttributeName

public void setDynamicAttributeName(java.lang.String name)
Sets the dynamic-attributes


getExample

public java.lang.String getExample()
Gets the example


validate

public void validate()
              throws JspParseException
validates.

Throws:
JspParseException

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

setBaseTag

public void setBaseTag(TldTag tag)

getBaseTag

public TldTag getBaseTag()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object