|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.autotag.model.TemplateClass
public class TemplateClass
It represents a parsed template class.
Constructor Summary | |
---|---|
TemplateClass(String name)
Constructor. |
|
TemplateClass(String name,
String tagName,
String tagClassPrefix,
TemplateMethod executeMethod)
Constructor. |
Method Summary | |
---|---|
String |
getDocumentation()
Returns the documentation for this class. |
TemplateMethod |
getExecuteMethod()
Returns the method that execute this class. |
String |
getName()
The name of the parsed class. |
Collection<TemplateParameter> |
getParameters()
Returns the collection of regular parameters (no request, no body) of the execute method. |
String |
getSimpleName()
Returns the name of the class, without the package part. |
String |
getTagClassPrefix()
Returns the tag class prefix. |
String |
getTagName()
Returns the tag name. |
boolean |
hasBody()
Indicates that this class needs a tag body. |
void |
setDocumentation(String documentation)
Sets the documentation for this class. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TemplateClass(String name)
name
- The name of the template class.public TemplateClass(String name, String tagName, String tagClassPrefix, TemplateMethod executeMethod)
name
- The name of the template class.tagName
- The name of the tag.tagClassPrefix
- The tag class prefix.executeMethod
- The method that executes the template class.Method Detail |
---|
public String getName()
public String getSimpleName()
public String getTagName()
public String getTagClassPrefix()
public String getDocumentation()
public void setDocumentation(String documentation)
documentation
- The documentation.public TemplateMethod getExecuteMethod()
public Collection<TemplateParameter> getParameters()
public boolean hasBody()
true
if tag body is needed.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |