Package org.apache.tiles.autotag.model
Class TemplateMethod
java.lang.Object
org.apache.tiles.autotag.model.TemplateMethod
It represents a parsed method in a parsed template class.
- 
Constructor SummaryConstructorsConstructorDescriptionTemplateMethod(String name, Iterable<? extends TemplateParameter> parameters) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the documentation for this method.getName()Returns the name of the method.getParameterByName(String name) Returns a parameter given its name.Returns the parameters of this method.booleanhasBody()Indicates that this method needs a tag body.voidsetDocumentation(String documentation) Sets the documentation for this method.toString()
- 
Constructor Details- 
TemplateMethodConstructor.- Parameters:
- name- The name of the method.
- parameters- The map of parameters.
 
 
- 
- 
Method Details- 
getNameReturns the name of the method.- Returns:
- The name of the method.
 
- 
getDocumentationReturns the documentation for this method.- Returns:
- The documentation.
 
- 
setDocumentationSets the documentation for this method.- Parameters:
- documentation- The documentation.
 
- 
getParametersReturns the parameters of this method.- Returns:
- The parameters.
 
- 
getParameterByNameReturns a parameter given its name.- Parameters:
- name- The name of the parameter.
- Returns:
- The parameter.
 
- 
hasBodypublic boolean hasBody()Indicates that this method needs a tag body.- Returns:
- trueif tag body is needed.
 
- 
toString
 
-