|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.webapp.taglib.LabelValueBean
public class LabelValueBean
Simple JavaBean to represent label-value pairs for use in collections
that are utilized by the <form:options>
tag.
Field Summary | |
---|---|
protected java.lang.String |
label
The label to be displayed to the user. |
protected java.lang.String |
value
The value to be returned to the server. |
Constructor Summary | |
---|---|
LabelValueBean(java.lang.String label,
java.lang.String value)
Construct a new LabelValueBean with the specified values. |
Method Summary | |
---|---|
java.lang.String |
getLabel()
|
java.lang.String |
getValue()
|
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 java.lang.String label
protected java.lang.String value
Constructor Detail |
---|
public LabelValueBean(java.lang.String label, java.lang.String value)
label
- The label to be displayed to the uservalue
- The value to be returned to the serverMethod Detail |
---|
public java.lang.String getLabel()
public java.lang.String getValue()
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 |