org.metawidget.statically.html.widgetbuilder.HtmlOption Maven / Gradle / Ivy
// Metawidget
//
// For historical reasons, this file is licensed under the LGPL
// (http://www.gnu.org/licenses/lgpl-2.1.html).
//
// Most other files in Metawidget are licensed under both the
// LGPL/EPL and a commercial license. See http://metawidget.org
// for details.
package org.metawidget.statically.html.widgetbuilder;
/**
* @author Ryan Bradley
*/
public class HtmlOption
extends HtmlTag
implements ValueHolder {
//
// Constructor
//
public HtmlOption() {
super( "option" );
}
//
// Public methods
//
public void setValue(String value) {
putAttribute( "value", value );
}
public String getValue() {
return getAttribute( "value" );
}
}