|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.apache.struts.util.MessageResourcesFactory
Factory for MessageResources instances. The general usage
pattern for this class is:
MessageResourcesFactory().createFactory() to retrieve
a MessageResourcesFactory instance.MessageResources instances with desired
characteristics.createResources() method of the factory to
retrieve a newly instantiated MessageResources
instance.
| フィールドの概要 | |
protected static java.lang.Class |
clazz
The Java class to be used for MessageResourcesFactory instances. |
protected static java.lang.String |
factoryClass
The fully qualified class name to be used for MessageResourcesFactory instances. |
private static org.apache.commons.logging.Log |
LOG
Commons Logging instance. |
protected boolean |
returnNull
The "return null" property value to which newly created MessageResourcess should be initialized. |
| コンストラクタの概要 | |
MessageResourcesFactory()
|
|
| メソッドの概要 | |
static MessageResourcesFactory |
createFactory()
Create and return a MessageResourcesFactory instance of the
appropriate class, which can be used to create customized
MessageResources instances. |
abstract MessageResources |
createResources(java.lang.String config)
Create and return a newly instansiated MessageResources.
|
static java.lang.String |
getFactoryClass()
The fully qualified class name that is used for MessageResourcesFactory instances. |
boolean |
getReturnNull()
Get default value of the "returnNull" property used to initialize newly created MessageResourcess. |
static void |
setFactoryClass(java.lang.String factoryClass)
Set the fully qualified class name that is used for MessageResourcesFactory instances. |
void |
setReturnNull(boolean returnNull)
Set the default value of the "returnNull" property newly created MessageResourcess are initialized to. |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
protected boolean returnNull
protected static transient java.lang.Class clazz
MessageResourcesFactory instances.
private static org.apache.commons.logging.Log LOG
protected static java.lang.String factoryClass
MessageResourcesFactory instances.
| コンストラクタの詳細 |
public MessageResourcesFactory()
| メソッドの詳細 |
public boolean getReturnNull()
public void setReturnNull(boolean returnNull)
returnNull - default value of the "returnNull" MessageResourcess are initialized to.public abstract MessageResources createResources(java.lang.String config)
MessageResources.
This method must be implemented by concrete subclasses.
config - Configuration parameter(s) for the requested bundlepublic static java.lang.String getFactoryClass()
MessageResourcesFactory instances.
MessageResourcesFactory instancespublic static void setFactoryClass(java.lang.String factoryClass)
MessageResourcesFactory instances.
factoryClass - name that is used for
MessageResourcesFactory instancespublic static MessageResourcesFactory createFactory()
MessageResourcesFactory instance of the
appropriate class, which can be used to create customized
MessageResources instances. If no such factory can be
created, return null instead.
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||