Method from org.apache.struts.config.MessageResourcesConfig Detail: |
public void freeze() {
configured = true;
}
Freeze the configuration of this component. |
public String getFactory() {
return (this.factory);
}
|
public String getKey() {
return (this.key);
}
|
public boolean getNull() {
return (this.nullValue);
}
|
public String getParameter() {
return (this.parameter);
}
|
public boolean isEscape() {
return escape;
}
Indicates whether 'escape processing' should be performed on
the error message string. |
public void setEscape(boolean escape) {
this.escape = escape;
}
Set whether 'escape processing' should be performed on
the error message string. |
public void setFactory(String factory) {
if (configured) {
throw new IllegalStateException("Configuration is frozen");
}
this.factory = factory;
}
|
public void setKey(String key) {
if (configured) {
throw new IllegalStateException("Configuration is frozen");
}
this.key = key;
}
|
public void setNull(boolean nullValue) {
if (configured) {
throw new IllegalStateException("Configuration is frozen");
}
this.nullValue = nullValue;
}
|
public void setParameter(String parameter) {
if (configured) {
throw new IllegalStateException("Configuration is frozen");
}
this.parameter = parameter;
}
|
public String toString() {
StringBuffer sb = new StringBuffer("MessageResourcesConfig[");
sb.append("factory=");
sb.append(this.factory);
sb.append(",null=");
sb.append(this.nullValue);
sb.append(",escape=");
sb.append(this.escape);
sb.append(",parameter=");
sb.append(this.parameter);
sb.append("]");
return (sb.toString());
}
Return a String representation of this object. |