Top Description Methods
org.apache.wml

public Interface WMLInputElement

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

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

'input' element specifies a text entry object. (Section 11.6.3, WAP WML Version 16-Jun-1999)

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

Method Summary

Modifier and TypeMethod and Description
public boolean
public String
public int
public String
public int
public int
public String
public String
public String
public String
public void
setEmptyOk(boolean newValue)

'emptyok' specifies whether a empty input is allowed when a non-empty 'format' is specified.

public void
setFormat(String newValue)

'format' specifies the input mask for user input.

public void
setMaxLength(int newValue)

'maxlength' specifies the maximum number of characters to be enter.

public void
setName(String newValue)

'name' specifies the name of a variable after the user enters the text.

public void
setSize(int newValue)

'size' specifies the width of the input in characters (Section 11.6.3, WAP WML Version 16-Jun-1999)

public void
setTabIndex(int newValue)

'tabindex' specifies the tabbing position of the element (Section 11.6.1, WAP WML Version 16-Jun-1999)

public void
setTitle(String newValue)

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

public void
setType(String newValue)

'type' specifies the type of text input area.

public void
setValue(String newValue)

'value' specifies the default value of the variable in 'name' attribute (Section 11.6.3, 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

getEmptyOkback to summary
public boolean getEmptyOk()
getFormatback to summary
public String getFormat()
getMaxLengthback to summary
public int getMaxLength()
getNameback to summary
public String getName()
getSizeback to summary
public int getSize()
getTabIndexback to summary
public int getTabIndex()
getTitleback to summary
public String getTitle()
getTypeback to summary
public String getType()
getValueback to summary
public String getValue()
getXmlLangback to summary
public String getXmlLang()
setEmptyOkback to summary
public void setEmptyOk(boolean newValue)

'emptyok' specifies whether a empty input is allowed when a non-empty 'format' is specified. Default to be 'false' (Section 11.6.3, WAP WML Version 16-Jun-1999)

setFormatback to summary
public void setFormat(String newValue)

'format' specifies the input mask for user input. (Section 11.6.3, WAP WML Version 16-Jun-1999)

setMaxLengthback to summary
public void setMaxLength(int newValue)

'maxlength' specifies the maximum number of characters to be enter. (Section 11.6.3, WAP WML Version 16-Jun-1999)

setNameback to summary
public void setName(String newValue)

'name' specifies the name of a variable after the user enters the text. (Section 11.6.3, WAP WML Version 16-Jun-1999)

setSizeback to summary
public void setSize(int newValue)

'size' specifies the width of the input in characters (Section 11.6.3, WAP WML Version 16-Jun-1999)

setTabIndexback to summary
public void setTabIndex(int newValue)

'tabindex' specifies the tabbing position of the element (Section 11.6.1, WAP WML Version 16-Jun-1999)

setTitleback to summary
public void setTitle(String newValue)

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

setTypeback to summary
public void setType(String newValue)

'type' specifies the type of text input area. Two values are allowed: 'text' and 'password' and default is 'text' (Section 11.6.3, WAP WML Version 16-Jun-1999)

setValueback to summary
public void setValue(String newValue)

'value' specifies the default value of the variable in 'name' attribute (Section 11.6.3, 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)