Top Description Methods
org.apache.wml

public Interface WMLOptionElement

extends WMLElement
Known Direct Implementers
org.apache.wml.dom.WMLOptionElementImpl

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

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

Method Summary

Modifier and TypeMethod and Description
public String
public String
public String
public String
public void
setOnPick(String href)

'onpick' specifies a event to occur when a user select and disselect this choice.

public void
setTitle(String newValue)

'title' specifies a title for this element.

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)

public void
setXmlLang(String newValue)

'xml:lang' specifics the natural or formal language in which the document is written.

Inherited from org.apache.wml.WMLElement:
getClassNamegetIdsetClassNamesetId

Method Detail

getOnPickback to summary
public String getOnPick()
getTitleback to summary
public String getTitle()
getValueback to summary
public String getValue()
getXmlLangback to summary
public String getXmlLang()
setOnPickback to summary
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)

setTitleback to summary
public void setTitle(String newValue)

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

setValueback to summary
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)

setXmlLangback to summary
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)