public class TemplateClass extends Object
| Constructor and Description | 
|---|
| TemplateClass(String name)Constructor. | 
| TemplateClass(String name,
             String tagName,
             String tagClassPrefix,
             TemplateMethod executeMethod)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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() | 
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.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.Copyright © 2000–2025 Apache Software Foundation. All rights reserved.