org.apache.openejb.jee
Class TagFile

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

public class TagFile
extends Object

Defines an action in this tag library that is implemented as a .tag file.

The tag-file element has two required subelements:

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

path Where to find the .tag file implementing this action, relative to the root of the web application or the root of the JAR file for a tag library packaged in a JAR. This must begin with /WEB-INF/tags if the .tag file resides in the WAR, or /META-INF/tags if the .tag file resides in a JAR.

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  TextMap description
           
protected  TextMap displayName
           
protected  String example
           
protected  LocalCollection<Icon> icon
           
protected  String id
           
protected  String name
           
protected  String path
           
protected  List<TldExtension> tagExtension
           
 
Constructor Summary
TagFile()
           
 
Method Summary
 String getDescription()
           
 Text[] getDescriptions()
           
 String getDisplayName()
           
 Text[] getDisplayNames()
           
 String getExample()
           
 Icon getIcon()
           
 Map<String,Icon> getIconMap()
           
 Collection<Icon> getIcons()
           
 String getId()
           
 String getName()
           
 String getPath()
           
 List<TldExtension> getTagExtension()
           
 void setDescriptions(Text[] text)
           
 void setDisplayNames(Text[] text)
           
 void setExample(String value)
           
 void setId(String value)
           
 void setName(String value)
           
 void setPath(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

path

protected String path

example

protected String example

tagExtension

protected List<TldExtension> tagExtension

id

protected String id
Constructor Detail

TagFile

public TagFile()
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)

getPath

public String getPath()

setPath

public void setPath(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-2011 The Apache OpenEJB development community. All Rights Reserved.