org.apache.struts.taglib.tiles
クラス DefinitionTagSupport

java.lang.Object
  拡張javax.servlet.jsp.tagext.TagSupport
      拡張org.apache.struts.taglib.tiles.DefinitionTagSupport
すべての実装インタフェース:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
直系の既知のサブクラス:
DefinitionTag, InsertTag

public class DefinitionTagSupport
extends javax.servlet.jsp.tagext.TagSupport
implements java.io.Serializable

Common base class for tags dealing with Tiles definitions. This class defines properties used in Definition Tags. It also extends TagSupport.

関連項目:
直列化された形式

フィールドの概要
protected  java.lang.String controllerName
          Associated Controller name (classname or url)
protected  java.lang.String controllerType
          Associated Controller type
protected  java.lang.String page
          Uri of page assoicated to this definition.
protected  java.lang.String role
          Role associated to definition.
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したフィールド
id, pageContext
 
インタフェース javax.servlet.jsp.tagext.IterationTag から継承したフィールド
EVAL_BODY_AGAIN
 
インタフェース javax.servlet.jsp.tagext.Tag から継承したフィールド
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
コンストラクタの概要
DefinitionTagSupport()
           
 
メソッドの概要
 java.lang.String getControllerName()
          Get controller name.
 java.lang.String getControllerType()
          Get controller type.
 java.lang.String getPage()
          Get the page.
 java.lang.String getRole()
          Get associated role.
 java.lang.String getTemplate()
          Get the template.
 void release()
          Release class properties.
 void setController(java.lang.String controller)
          Set associated controller name.
 void setControllerClass(java.lang.String controller)
          Set associated controller name as a classtype and controller type as "classname".
 void setControllerName(java.lang.String controller)
          Set associated controller name.
 void setControllerType(java.lang.String controllerType)
          Set associated controller type.
 void setControllerUrl(java.lang.String controller)
          Set associated controller name as an url, and controller type as "url".
 void setPage(java.lang.String page)
          Set the page.
 void setRole(java.lang.String role)
          Set associated role.
 void setTemplate(java.lang.String template)
          Set the template.
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース javax.servlet.jsp.tagext.IterationTag から継承したメソッド
 

フィールドの詳細

controllerType

protected java.lang.String controllerType
Associated Controller type


controllerName

protected java.lang.String controllerName
Associated Controller name (classname or url)


role

protected java.lang.String role
Role associated to definition.


page

protected java.lang.String page
Uri of page assoicated to this definition.

コンストラクタの詳細

DefinitionTagSupport

public DefinitionTagSupport()
メソッドの詳細

release

public void release()
Release class properties.

定義:
インタフェース javax.servlet.jsp.tagext.Tag 内の release

getControllerType

public java.lang.String getControllerType()
Get controller type. Type can be 'classname', 'url'.

戻り値:
Controller type.

getControllerName

public java.lang.String getControllerName()
Get controller name. Name denotes a fully qualified classname, or an url. Exact type can be specified with setControllerType(java.lang.String).

戻り値:
Controller name.

setControllerType

public void setControllerType(java.lang.String controllerType)
Set associated controller type. Type denotes a fully qualified classname.

パラメータ:
controllerType - Type of associated controller.

setController

public void setController(java.lang.String controller)
Set associated controller name. Name denotes a fully qualified classname, or an url. Exact type can be specified with setControllerType(java.lang.String).

パラメータ:
controller - Controller classname or url.

setControllerName

public void setControllerName(java.lang.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

setControllerUrl

public void setControllerUrl(java.lang.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

setControllerClass

public void setControllerClass(java.lang.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.

getRole

public java.lang.String getRole()
Get associated role.

戻り値:
Associated role.

setRole

public void setRole(java.lang.String role)
Set associated role.

パラメータ:
role - Associated role.

setPage

public void setPage(java.lang.String page)
Set the page.

パラメータ:
page - Page.

getPage

public java.lang.String getPage()
Get the page.

戻り値:
Page.

getTemplate

public java.lang.String getTemplate()
Get the template. Same as getPage().

戻り値:
Template.

setTemplate

public void setTemplate(java.lang.String template)
Set the template. Same as setPage().

パラメータ:
template - Template.


このドキュメントは、Ja-Jakartaにより訳されました。コメントがある場合は、report@jajakarta.orgまでお願いします。
Copyright (C) 2000-2004 - Apache Software Foundation