Home » Struts-1.3.10 » org.apache.struts » config » [javadoc | source]
org.apache.struts.config
public class: MessageResourcesConfig [javadoc | source]
java.lang.Object
   org.apache.struts.config.MessageResourcesConfig

All Implemented Interfaces:
    Serializable

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

Field Summary
protected  boolean configured    Has this component been completely configured? 
protected  String factory    Fully qualified Java class name of the MessageResourcesFactory class we should use. 
protected  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  String parameter    Parameter that is passed to the createResources() method of our MessageResourcesFactory implementation. 
Method from org.apache.struts.config.MessageResourcesConfig Summary:
freeze,   getFactory,   getKey,   getNull,   getParameter,   isEscape,   setEscape,   setFactory,   setKey,   setNull,   setParameter,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts.config.MessageResourcesConfig Detail:
 public  void freeze() 
    Freeze the configuration of this component.
 public String getFactory() 
 public String getKey() 
 public boolean getNull() 
 public String getParameter() 
 public boolean isEscape() 
    Indicates whether 'escape processing' should be performed on the error message string.
 public  void setEscape(boolean escape) 
    Set whether 'escape processing' should be performed on the error message string.
 public  void setFactory(String factory) 
 public  void setKey(String key) 
 public  void setNull(boolean nullValue) 
 public  void setParameter(String parameter) 
 public String toString() 
    Return a String representation of this object.