Class TaglibBean
- java.lang.Object
-
- org.shredzone.commons.taglib.processor.TaglibBean
-
public class TaglibBean extends Object
This bean stores all information about a tag library.- Author:
- Richard "Shred" Körber
-
-
Constructor Summary
Constructors Constructor Description TaglibBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTag(TagBean tag)
Adds aTagBean
to this tag library.String
getBeanFactoryReference()
A reference to the bean factory.String
getInfo()
Information about the tag library.String
getJspversion()
The JSP version.String
getShortname()
The short name of the tag library.TagBean
getTagForClass(String className)
Gets theTagBean
that is related to the given implementation class.Collection<TagBean>
getTags()
Gets all tags of this tag library.String
getTldName()
Name of the TLD file.String
getTlibversion()
The tag lib version.String
getUri()
The tag library URI.void
setBeanFactoryReference(String beanFactoryReference)
void
setInfo(String info)
void
setJspversion(String jspversion)
void
setShortname(String shortname)
void
setTldName(String tldName)
void
setTlibversion(String tlibversion)
void
setUri(String uri)
-
-
-
Constructor Detail
-
TaglibBean
public TaglibBean()
-
-
Method Detail
-
getTlibversion
public String getTlibversion()
The tag lib version.
-
setTlibversion
public void setTlibversion(String tlibversion)
-
getJspversion
public String getJspversion()
The JSP version.
-
setJspversion
public void setJspversion(String jspversion)
-
getShortname
public String getShortname()
The short name of the tag library.
-
setShortname
public void setShortname(String shortname)
-
getTldName
public String getTldName()
Name of the TLD file.
-
setTldName
public void setTldName(String tldName)
-
getBeanFactoryReference
public String getBeanFactoryReference()
A reference to the bean factory.
-
setBeanFactoryReference
public void setBeanFactoryReference(String beanFactoryReference)
-
addTag
public void addTag(@Nonnull TagBean tag)
Adds aTagBean
to this tag library.- Parameters:
tag
-TagBean
to be added
-
getTags
@Nonnull public Collection<TagBean> getTags()
Gets all tags of this tag library.- Returns:
- Collection of
TagBean
-
-