org.apache.struts.taglib.tiles
Class DefinitionTagSupport
TagSupport
org.apache.struts.taglib.tiles.DefinitionTagSupport
- Serializable
public class DefinitionTagSupport
extends TagSupport
implements Serializable
Common base class for tags dealing with Tiles definitions.
This class defines properties used in Definition Tags.
It also extends TagSupport.
protected String | controllerName - Associated Controller name (classname or url)
|
protected String | controllerType - Associated Controller type
|
protected String | page - Uri of page assoicated to this definition.
|
protected String | role - Role associated to definition.
|
controllerName
protected String controllerName
Associated Controller name (classname or url)
controllerType
protected String controllerType
Associated Controller type
page
protected String page
Uri of page assoicated to this definition.
role
protected String role
Role associated to definition.
getControllerName
public String getControllerName()
Get controller name.
Name denotes a fully qualified classname, or an url.
Exact type can be specified with
setControllerType(String)
.
getControllerType
public String getControllerType()
Get controller type.
Type can be 'classname', 'url'.
getPage
public String getPage()
Get the page.
getRole
public String getRole()
Get associated role.
getTemplate
public String getTemplate()
Get the template.
Same as getPage().
release
public void release()
Release class properties.
setController
public void setController(String controller)
Set associated controller name.
Name denotes a fully qualified classname, or an url.
Exact type can be specified with
setControllerType(String)
.
controller
- Controller classname or url.
setControllerClass
public void setControllerClass(String controller)
Set associated controller name as a classtype and controller
type as "classname".
Name denotes a fully qualified classname.
Convenience method.
controller
- Controller classname.
setControllerName
public void setControllerName(String controller)
Set associated controller name.
Name denote a fully qualified classname, or an url.
Exact type can be specified with setControllerType.
controller
- Controller classname or url
setControllerType
public void setControllerType(String controllerType)
Set associated controller type.
Type denotes a fully qualified classname.
controllerType
- Type of associated controller.
setControllerUrl
public void setControllerUrl(String controller)
Set associated controller name as an url, and controller
type as "url".
Name must be an url (not checked).
Convenience method.
controller
- Controller url
setPage
public void setPage(String page)
Set the page.
setRole
public void setRole(String role)
Set associated role.
setTemplate
public void setTemplate(String template)
Set the template.
Same as setPage().
Copyright B) 2000-2007 - The Apache Software Foundation