org.apache.struts.taglib.tiles
public class DefinitionTag extends DefinitionTagSupport implements PutTagParent, PutListTagParent
Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
| Field Summary | |
|---|---|
| ComponentDefinition | definition
Template definition |
| String | extendsDefinition
Extends attribute value. |
| String | id
Definition identifier. |
| String | scope
Scope into which definition will be saved. |
| Method Summary | |
|---|---|
| int | doEndTag()
Process the end tag by putting the definition in appropriate context. |
| int | doStartTag()
Process the start tag by creating a new definition. |
| String | getExtends()
Get extends (parent) definition name. |
| String | getId()
Get the ID. |
| String | getScope()
Get the scope. |
| void | processNestedTag(PutTag nestedTag)
Process nested ≶put> tag.
|
| void | processNestedTag(PutListTag nestedTag)
Process nested ≶putList> tag.
|
| void | putAttribute(String name, Object content)
This method is a convenience for other tags for
putting content into the tile definition.
|
| void | release()
Reset member values for reuse. |
| protected void | releaseInternal()
Release internal references. |
| void | setExtends(String definitionName)
Set extends (parent) definition name. |
| void | setId(String id)
Set the ID. |
| void | setScope(String aScope)
Set the scope. |
Throws: JspException On errors processing tag.
Throws: JspException On errors processing tag.
extends (parent) definition name.Returns: Name of parent definition.
Returns: ID
Returns: Scope.
extends (parent) definition name.Parameters: definitionName Name of parent definition.
Parameters: id New ID.
Parameters: aScope Scope.