Package org.apache.tiles.autotag.model
Class TemplateClass
java.lang.Object
org.apache.tiles.autotag.model.TemplateClass
It represents a parsed template class.
- 
Constructor SummaryConstructorsConstructorDescriptionTemplateClass(String name) Constructor.TemplateClass(String name, String tagName, String tagClassPrefix, TemplateMethod executeMethod) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the documentation for this class.Returns the method that execute this class.getName()The name of the parsed class.Returns the collection of regular parameters (no request, no body) of the execute method.Returns the name of the class, without the package part.Returns the tag class prefix.Returns the tag name.booleanhasBody()Indicates that this class needs a tag body.voidsetDocumentation(String documentation) Sets the documentation for this class.toString()
- 
Constructor Details- 
TemplateClassConstructor.- Parameters:
- name- The name of the template class.
 
- 
TemplateClasspublic TemplateClass(String name, String tagName, String tagClassPrefix, TemplateMethod executeMethod) Constructor.- Parameters:
- 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 Details- 
getNameThe name of the parsed class.- Returns:
- The name of the class.
 
- 
getSimpleNameReturns the name of the class, without the package part.- Returns:
- The simple class name.
 
- 
getTagNameReturns the tag name.- Returns:
- The tag name.
 
- 
getTagClassPrefixReturns the tag class prefix.- Returns:
- The tag class prefix.
 
- 
getDocumentationReturns the documentation for this class.- Returns:
- The documentation.
 
- 
setDocumentationSets the documentation for this class.- Parameters:
- documentation- The documentation.
 
- 
getExecuteMethodReturns the method that execute this class.- Returns:
- The execute method.
 
- 
getParametersReturns the collection of regular parameters (no request, no body) of the execute method.- Returns:
- The regular parameters.
 
- 
hasBodypublic boolean hasBody()Indicates that this class needs a tag body.- Returns:
- trueif tag body is needed.
 
- 
toString
 
-