org.apache.wml

Interface WMLOptionElement

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,v 1.2 2004/02/24 23:34:05 mrglavas Exp $

Author: David Li

Method Summary
StringgetOnPick()
StringgetTitle()
StringgetValue()
StringgetXmlLang()
voidsetOnPick(String href)
'onpick' specifies a event to occur when a user select and disselect this choice.
voidsetTitle(String newValue)
'title' specifies a title for this element.
voidsetValue(String newValue)
'value' specifies the value to used to set the 'name' variable (Section 11.6.2.2, WAP WML Version 16-Jun-1999)
voidsetXmlLang(String newValue)
'xml:lang' specifics the natural or formal language in which the document is written.

Method Detail

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-2005 Apache XML Project. All Rights Reserved.