org.apache.struts.taglib
クラス LinkTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--org.apache.struts.taglib.LinkTag
すべての実装インタフェース:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class LinkTag
extends javax.servlet.jsp.tagext.TagSupport

Generate a URL-encoded hyperlink to the specified URI.

バージョン:
$Revision: 1.12 $ $Date: 2001/05/20 01:19:04 $
作成者:
Craig R. McClanahan
関連項目:
直列化された形式

フィールドの概要
protected  java.lang.String forward
          The logical forward name from which to retrieve the hyperlink URI.
protected  java.lang.String href
          The hyperlink URI.
protected static MessageResources messages
          The message resources for this package.
protected  java.lang.String name
          The JSP bean name for query parameters.
protected  java.lang.String property
          The JSP bean property name for query parameters.
protected  java.lang.String target
          The window target.
 
クラス 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
 
コンストラクタの概要
LinkTag()
           
 
メソッドの概要
 int doEndTag()
          Render the end of the hyperlink.
 int doStartTag()
          Render the beginning of the hyperlink.
 java.lang.String getForward()
          Return the logical forward name.
 java.lang.String getHref()
          Return the hyperlink URI.
 java.lang.String getName()
          Return the bean name.
 java.lang.String getProperty()
          Return the property name.
 java.lang.String getTarget()
          Return the window target.
protected  java.lang.String hyperlink()
          Return the specified hyperlink, modified as necessary with optional request parameters.
 void release()
          Release any acquired resources.
 void setForward(java.lang.String forward)
          Set the logical forward name.
 void setHref(java.lang.String href)
          Set the hyperlink URI.
 void setName(java.lang.String name)
          Set the bean name.
 void setProperty(java.lang.String property)
          Set the property name.
 void setTarget(java.lang.String target)
          Set the window target.
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

forward

protected java.lang.String forward
The logical forward name from which to retrieve the hyperlink URI.


href

protected java.lang.String href
The hyperlink URI.


messages

protected static MessageResources messages
The message resources for this package.


name

protected java.lang.String name
The JSP bean name for query parameters.


property

protected java.lang.String property
The JSP bean property name for query parameters.


target

protected java.lang.String target
The window target.

コンストラクタの詳細

LinkTag

public LinkTag()
メソッドの詳細

getForward

public java.lang.String getForward()
Return the logical forward name.


setForward

public void setForward(java.lang.String forward)
Set the logical forward name.

パラメータ:
forward - The new logical forward name

getHref

public java.lang.String getHref()
Return the hyperlink URI.


setHref

public void setHref(java.lang.String href)
Set the hyperlink URI.

パラメータ:
href - Set the hyperlink URI

getName

public java.lang.String getName()
Return the bean name.


setName

public void setName(java.lang.String name)
Set the bean name.

パラメータ:
name - The bean name

getProperty

public java.lang.String getProperty()
Return the property name.


setProperty

public void setProperty(java.lang.String property)
Set the property name.

パラメータ:
property - The property name

getTarget

public java.lang.String getTarget()
Return the window target.


setTarget

public void setTarget(java.lang.String target)
Set the window target.

パラメータ:
target - The new window target

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Render the beginning of the hyperlink.

定義:
インタフェース javax.servlet.jsp.tagext.Tag 内の doStartTag
オーバーライド:
クラス javax.servlet.jsp.tagext.TagSupport 内の doStartTag
例外:
javax.servlet.jsp.JspException - if a JSP exception has occurred

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Render the end of the hyperlink.

定義:
インタフェース javax.servlet.jsp.tagext.Tag 内の doEndTag
オーバーライド:
クラス javax.servlet.jsp.tagext.TagSupport 内の doEndTag
例外:
javax.servlet.jsp.JspException - if a JSP exception has occurred

release

public void release()
Release any acquired resources.

定義:
インタフェース javax.servlet.jsp.tagext.Tag 内の release
オーバーライド:
クラス javax.servlet.jsp.tagext.TagSupport 内の release

hyperlink

protected java.lang.String hyperlink()
                              throws javax.servlet.jsp.JspException
Return the specified hyperlink, modified as necessary with optional request parameters.

例外:
javax.servlet.jsp.JspException - if an error occurs preparing the hyperlink


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