org.apache.wml

Interface WMLOptionElement

All Superinterfaces:
Element, WMLElement
Known Implementing Classes:
WMLOptionElementImpl

public interface WMLOptionElement
extends WMLElement

The interface is modeled after DOM1 Spec for HTML from W3C. The DTD used in this DOM model is from http://www.wapforum.org/DTD/wml_1.1.xml

'option' element specifies a choice in a 'select' element

Version:
$Id: WMLOptionElement.java 447258 2006-09-18 05:41:23Z mrglavas $
Author:
David Li

Method Summary

String
getOnPick()
String
getTitle()
String
getValue()
String
getXmlLang()
void
setOnPick(String href)
'onpick' specifies a event to occur when a user select and disselect this choice.
void
setTitle(String newValue)
'title' specifies a title for this element.
void
setValue(String newValue)
'value' specifies the value to used to set the 'name' variable (Section 11.6.2.2, WAP WML Version 16-Jun-1999)
void
setXmlLang(String newValue)
'xml:lang' specifics the natural or formal language in which the document is written.

Methods inherited from interface org.apache.wml.WMLElement

getClassName, getId, setClassName, setId

Method Details

getOnPick

public String getOnPick()

getTitle

public String getTitle()

getValue

public String getValue()

getXmlLang

public String getXmlLang()

setOnPick

public void setOnPick(String href)
'onpick' specifies a event to occur when a user select and disselect this choice. (Section 11.6.2.2, WAP WML Version 16-Jun-1999)

setTitle

public void setTitle(String newValue)
'title' specifies a title for this element. (Section 11.6.2.2, WAP WML Version 16-Jun-1999)

setValue

public void setValue(String newValue)
'value' specifies the value to used to set the 'name' variable (Section 11.6.2.2, WAP WML Version 16-Jun-1999)

setXmlLang

public void setXmlLang(String newValue)
'xml:lang' specifics the natural or formal language in which the document is written. (Section 8.8, WAP WML Version 16-Jun-1999)

Copyright © 1999-2007 The Apache Software Foundation. All Rights Reserved.