org.apache.velocity.tools.plugin.taglib.model
Class Taglib

java.lang.Object
  extended by org.apache.velocity.tools.plugin.taglib.model.Taglib

@ObjectCreate(pattern="taglib")
public class Taglib
extends Object

It represents a Tag Library, as read from a Tag Library Descriptor.


Constructor Summary
Taglib()
           
 
Method Summary
 void addTag(Tag tag)
          Adds a new tag to the contained tag.
 String getDescription()
          Returns the description.
 String getShortName()
          Returns the short name of the taglib.
 List<Tag> getTags()
          Returns the tags of this taglib.
 String getTlibVersion()
          Returns the taglib version.
 String getUri()
          Returns the URI of the taglib.
 void setDescription(String description)
          Sets the description.
 void setShortName(String shortName)
          Sets the short name of the taglib.
 void setTlibVersion(String tlibVersion)
          Sets the taglib version.
 void setUri(String uri)
          Sets the URI of the taglib.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Taglib

public Taglib()
Method Detail

getDescription

public String getDescription()
Returns the description.

Returns:
The description.

setDescription

public void setDescription(String description)
Sets the description.

Parameters:
description - The description.

getTlibVersion

public String getTlibVersion()
Returns the taglib version.

Returns:
The taglib version.

setTlibVersion

public void setTlibVersion(String tlibVersion)
Sets the taglib version.

Parameters:
tlibVersion - The taglib version.

getShortName

public String getShortName()
Returns the short name of the taglib.

Returns:
The short name of the taglib.

setShortName

public void setShortName(String shortName)
Sets the short name of the taglib.

Parameters:
shortName - The short name of the taglib.

getUri

public String getUri()
Returns the URI of the taglib.

Returns:
The URI of the taglib.

setUri

public void setUri(String uri)
Sets the URI of the taglib.

Parameters:
uri - The URI of the taglib.

getTags

public List<Tag> getTags()
Returns the tags of this taglib.

Returns:
The tags.

addTag

@SetNext
public void addTag(Tag tag)
Adds a new tag to the contained tag.

Parameters:
tag - The tag to add.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.