org.apache.openejb.jee
Class Tag

java.lang.Object
  extended by org.apache.openejb.jee.Tag

public class Tag
extends Object

The tag defines a unique tag in this tag library. It has one attribute, id.

The tag element may have several subelements defining:

description Optional tag-specific information

display-name A short name that is intended to be displayed by tools

icon Optional icon element that can be used by tools

name The unique action name

tag-class The tag handler class implementing javax.servlet.jsp.tagext.JspTag

tei-class An optional subclass of javax.servlet.jsp.tagext.TagExtraInfo

body-content The body content type

variable Optional scripting variable information

attribute All attributes of this action that are evaluated prior to invocation.

dynamic-attributes Whether this tag supports additional attributes with dynamic names. If true, the tag-class must implement the javax.servlet.jsp.tagext.DynamicAttributes interface. Defaults to false.

example Optional informal description of an example of a use of this tag

tag-extension Zero or more extensions that provide extra information about this tag, for tool consumption


Field Summary
protected  List<TldAttribute> attribute
           
protected  BodyContent bodyContent
           
protected  TextMap description
           
protected  TextMap displayName
           
protected  String dynamicAttributes
           
protected  String example
           
protected  LocalCollection<Icon> icon
           
protected  String id
           
protected  String name
           
protected  String tagClass
           
protected  List<TldExtension> tagExtension
           
protected  String teiClass
           
protected  List<Variable> variable
           
 
Constructor Summary
Tag()
           
 
Method Summary
 List<TldAttribute> getAttribute()
           
 BodyContent getBodyContent()
           
 String getDescription()
           
 Text[] getDescriptions()
           
 String getDisplayName()
           
 Text[] getDisplayNames()
           
 String getDynamicAttributes()
           
 String getExample()
           
 Icon getIcon()
           
 Map<String,Icon> getIconMap()
           
 Collection<Icon> getIcons()
           
 String getId()
           
 String getName()
           
 String getTagClass()
           
 List<TldExtension> getTagExtension()
           
 String getTeiClass()
           
 List<Variable> getVariable()
           
 void setBodyContent(BodyContent value)
           
 void setDescriptions(Text[] text)
           
 void setDisplayNames(Text[] text)
           
 void setDynamicAttributes(String value)
           
 void setExample(String value)
           
 void setId(String value)
           
 void setName(String value)
           
 void setTagClass(String value)
           
 void setTeiClass(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected TextMap description

displayName

protected TextMap displayName

icon

protected LocalCollection<Icon> icon

name

protected String name

tagClass

protected String tagClass

teiClass

protected String teiClass

bodyContent

protected BodyContent bodyContent

variable

protected List<Variable> variable

attribute

protected List<TldAttribute> attribute

dynamicAttributes

protected String dynamicAttributes

example

protected String example

tagExtension

protected List<TldExtension> tagExtension

id

protected String id
Constructor Detail

Tag

public Tag()
Method Detail

getDescriptions

public Text[] getDescriptions()

setDescriptions

public void setDescriptions(Text[] text)

getDescription

public String getDescription()

getDisplayNames

public Text[] getDisplayNames()

setDisplayNames

public void setDisplayNames(Text[] text)

getDisplayName

public String getDisplayName()

getIcons

public Collection<Icon> getIcons()

getIconMap

public Map<String,Icon> getIconMap()

getIcon

public Icon getIcon()

getName

public String getName()

setName

public void setName(String value)

getTagClass

public String getTagClass()

setTagClass

public void setTagClass(String value)

getTeiClass

public String getTeiClass()

setTeiClass

public void setTeiClass(String value)

getBodyContent

public BodyContent getBodyContent()

setBodyContent

public void setBodyContent(BodyContent value)

getVariable

public List<Variable> getVariable()

getAttribute

public List<TldAttribute> getAttribute()

getDynamicAttributes

public String getDynamicAttributes()

setDynamicAttributes

public void setDynamicAttributes(String value)

getExample

public String getExample()

setExample

public void setExample(String value)

getTagExtension

public List<TldExtension> getTagExtension()

getId

public String getId()

setId

public void setId(String value)


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.