|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.velocity.tools.plugin.taglib.model.Attribute
@ObjectCreate(pattern="taglib/tag/attribute") public class Attribute
It represents a tag attribute, in a tag library descriptor.
Constructor Summary | |
---|---|
Attribute()
|
Method Summary | |
---|---|
String |
getDescription()
Returns the description of the attribute. |
String |
getName()
Returns the name of the attribute. |
String |
getSetterName()
Returns the name of the setter method. |
Tag |
getTag()
Returns the tag that contains this attribute. |
String |
getType()
Returns the type of the attribute. |
String |
getWrappedType()
Returns the type that should be used in the Velocity directive for this attribute. |
boolean |
isRequired()
Returns true if the attribute is required. |
boolean |
isRtexprvalue()
Returns true if the attribute accepts runtime expression. |
void |
setDescription(String description)
Sets the description of the attribute. |
void |
setJTag(Tag tag)
Sets the tag that contains this attribute. |
void |
setName(String name)
Sets the name of the attribute. |
void |
setRequired(boolean required)
It tells if the attribute is required. |
void |
setRtexprvalue(boolean rtexprvalue)
It tells ifthe attribute accepts runtime expression. |
void |
setType(String type)
Sets the type of the attribute. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Attribute()
Method Detail |
---|
public String getName()
public void setName(String name)
name
- The name of the attribute.public String getDescription()
public void setDescription(String description)
description
- The description of the attribute.public boolean isRequired()
true
if the attribute is required.
true
if the attribute is required.public void setRequired(boolean required)
required
- true
if the attribute is required.public boolean isRtexprvalue()
true
if the attribute accepts runtime expression.
true
if the attribute accepts runtime expression.public void setRtexprvalue(boolean rtexprvalue)
rtexprvalue
- true
if the attribute accepts runtime expression.public String getType()
public void setType(String type)
type
- The type of the attribute.@SetTop(pattern="taglib/tag/attribute") public void setJTag(Tag tag)
tag
- The container tag.public Tag getTag()
public String getWrappedType()
public String getSetterName()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |