|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.validator.Msg
An alternative message can be associated with a Field
and a pluggable validator instead of using the default message
stored in the ValidatorAction
(aka pluggable validator).
Instances of this class are configured with a <msg> xml element.
Field Summary | |
protected java.lang.String |
bundle
The resource bundle name that this Msg's key should be
resolved in (optional). |
protected java.lang.String |
key
The key or value of the argument. |
protected java.lang.String |
name
The name dependency that this argument goes with (optional). |
Constructor Summary | |
Msg()
|
Method Summary | |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
java.lang.String |
getBundle()
Returns the resource bundle name. |
java.lang.String |
getKey()
Gets the key/value. |
java.lang.String |
getName()
Gets the name of the dependency. |
void |
setBundle(java.lang.String bundle)
Sets the resource bundle name. |
void |
setKey(java.lang.String key)
Sets the key/value. |
void |
setName(java.lang.String name)
Sets the name of the dependency. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String bundle
key
should be
resolved in (optional).
protected java.lang.String key
protected java.lang.String name
Constructor Detail |
public Msg()
Method Detail |
public java.lang.String getBundle()
public void setBundle(java.lang.String bundle)
bundle
- The new bundle name.public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getKey()
public void setKey(java.lang.String key)
public java.lang.Object clone()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |