|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ideo.sweetdevria.config.elements.MessageResourcesConfig
public class MessageResourcesConfig
A JavaBean representing the configuration information of a <message-resources>
element in a RIA configuration file.
Field Summary | |
---|---|
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. |
Constructor Summary | |
---|---|
MessageResourcesConfig()
|
Method Summary | |
---|---|
void |
freeze()
Freeze the configuration of this component. |
java.lang.String |
getFactory()
Get the factory. |
java.lang.String |
getKey()
Get the key. |
boolean |
getNull()
|
java.lang.String |
getParameter()
Get the parameter. |
void |
setFactory(java.lang.String factory)
Set the factory. |
void |
setKey(java.lang.String key)
Set the key. |
void |
setNull(boolean nullValue)
|
void |
setParameter(java.lang.String parameter)
Set the parameter. |
java.lang.String |
toString()
Return a String representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected boolean configured
protected java.lang.String factory
protected java.lang.String key
protected boolean nullValue
null
for unknown message keys?
protected java.lang.String parameter
createResources()
method
of our MessageResourcesFactory implementation.
Constructor Detail |
---|
public MessageResourcesConfig()
Method Detail |
---|
public java.lang.String getFactory()
public void setFactory(java.lang.String factory)
factory
- The factory to set.public java.lang.String getKey()
public void setKey(java.lang.String key)
key
- The key to set.public boolean getNull()
public void setNull(boolean nullValue)
public java.lang.String getParameter()
public void setParameter(java.lang.String parameter)
parameter
- The parameter to set.public void freeze()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |