org.apache.struts.taglib
クラス EncodeURLTag

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

public final class EncodeURLTag
extends javax.servlet.jsp.tagext.TagSupport

Custom tag implementation that acts like <jsp:getProperty> but encodes the output stream so that HTML-related characters do not cause difficulties.

バージョン:
$Revision: 1.1.1.1 $ $Date: 2003/03/11 13:38:38 $
作成者:
Craig R. McClanahan
関連項目:
直列化された形式

フィールドの概要
private static MessageResources messages
          The message resources for this package.
private  java.lang.String url
          The URL to be encoded.
 
クラス 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
 
コンストラクタの概要
EncodeURLTag()
          Construct a new instance of this tag.
 
メソッドの概要
 int doStartTag()
          Process the start tag.
 java.lang.String getUrl()
          Return the URL to be encoded.
 void release()
          Release any acquired resources.
 void setUrl(java.lang.String url)
          Set the URL to be encoded.
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド
doAfterBody, doEndTag, 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 から継承したメソッド
 

フィールドの詳細

messages

private static MessageResources messages
The message resources for this package.


url

private java.lang.String url
The URL to be encoded.

コンストラクタの詳細

EncodeURLTag

public EncodeURLTag()
Construct a new instance of this tag.

メソッドの詳細

getUrl

public java.lang.String getUrl()
Return the URL to be encoded.


setUrl

public void setUrl(java.lang.String url)
Set the URL to be encoded.

パラメータ:
url - The new URL

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Process the start tag.

例外:
javax.servlet.jsp.JspException - if a JSP exception has occurred

release

public void release()
Release any acquired resources.



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