|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.autotag.model.TemplateMethod
public class TemplateMethod
It represents a parsed method in a parsed template class.
Constructor Summary | |
---|---|
TemplateMethod(String name,
Iterable<? extends TemplateParameter> parameters)
Constructor. |
Method Summary | |
---|---|
String |
getDocumentation()
Returns the documentation for this method. |
String |
getName()
Returns the name of the method. |
TemplateParameter |
getParameterByName(String name)
Returns a parameter given its name. |
Collection<TemplateParameter> |
getParameters()
Returns the parameters of this method. |
boolean |
hasBody()
Indicates that this method needs a tag body. |
void |
setDocumentation(String documentation)
Sets the documentation for this method. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TemplateMethod(String name, Iterable<? extends TemplateParameter> parameters)
name
- The name of the method.parameters
- The map of parameters.Method Detail |
---|
public String getName()
public String getDocumentation()
public void setDocumentation(String documentation)
documentation
- The documentation.public Collection<TemplateParameter> getParameters()
public TemplateParameter getParameterByName(String name)
name
- The name of the parameter.
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 |