org.apache.struts.config
クラス MessageResourcesConfig

java.lang.Object
  拡張org.apache.struts.config.MessageResourcesConfig
すべての実装インタフェース:
java.io.Serializable

public class MessageResourcesConfig
extends java.lang.Object
implements java.io.Serializable

A JavaBean representing the configuration information of a <message-resources> element in a Struts configuration file.

導入されたバージョン:
Struts 1.1
バージョン:
$Revision: 1.1 $ $Date: 2004/10/20 03:26:41 $
関連項目:
直列化された形式

フィールドの概要
protected  boolean configured
          Has this component been completely configured?
protected  java.lang.String factory
          Fully qualified Java class name of the MessageResourcesFactory class we should use.
protected  java.lang.String key
          The servlet context attributes key under which this MessageResources instance is stored.
protected  boolean nullValue
          Should we return null for unknown message keys?
protected  java.lang.String parameter
          Parameter that is passed to the createResources() method of our MessageResourcesFactory implementation.
 
コンストラクタの概要
MessageResourcesConfig()
           
 
メソッドの概要
 void freeze()
          Freeze the configuration of this component.
 java.lang.String getFactory()
           
 java.lang.String getKey()
           
 boolean getNull()
           
 java.lang.String getParameter()
           
 void setFactory(java.lang.String factory)
           
 void setKey(java.lang.String key)
           
 void setNull(boolean nullValue)
           
 void setParameter(java.lang.String parameter)
           
 java.lang.String toString()
          Return a String representation of this object.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

configured

protected boolean configured
Has this component been completely configured?


factory

protected java.lang.String factory
Fully qualified Java class name of the MessageResourcesFactory class we should use.


key

protected java.lang.String key
The servlet context attributes key under which this MessageResources instance is stored.


nullValue

protected boolean nullValue
Should we return null for unknown message keys?


parameter

protected java.lang.String parameter
Parameter that is passed to the createResources() method of our MessageResourcesFactory implementation.

コンストラクタの詳細

MessageResourcesConfig

public MessageResourcesConfig()
メソッドの詳細

getFactory

public java.lang.String getFactory()

setFactory

public void setFactory(java.lang.String factory)

getKey

public java.lang.String getKey()

setKey

public void setKey(java.lang.String key)

getNull

public boolean getNull()

setNull

public void setNull(boolean nullValue)

getParameter

public java.lang.String getParameter()

setParameter

public void setParameter(java.lang.String parameter)

freeze

public void freeze()
Freeze the configuration of this component.


toString

public java.lang.String toString()
Return a String representation of this object.



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