public interface

WMLInputElement

implements WMLElement
org.apache.wml.WMLInputElement
Known Indirect Subclasses

Class Overview

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)

Summary

[Expand]
Inherited Constants
From interface org.w3c.dom.Node
Public Methods
abstract boolean getEmptyOk()
abstract String getFormat()
abstract int getMaxLength()
abstract String getName()
abstract int getSize()
abstract int getTabIndex()
abstract String getTitle()
abstract String getType()
abstract String getValue()
abstract String getXmlLang()
abstract void setEmptyOk(boolean newValue)
'emptyok' specifies whether a empty input is allowed when a non-empty 'format' is specified.
abstract void setFormat(String newValue)
'format' specifies the input mask for user input.
abstract void setMaxLength(int newValue)
'maxlength' specifies the maximum number of characters to be enter.
abstract void setName(String newValue)
'name' specifies the name of a variable after the user enters the text.
abstract void setSize(int newValue)
'size' specifies the width of the input in characters (Section 11.6.3, WAP WML Version 16-Jun-1999)
abstract void setTabIndex(int newValue)
'tabindex' specifies the tabbing position of the element (Section 11.6.1, WAP WML Version 16-Jun-1999)
abstract void setTitle(String newValue)
'title' specifies a title for this element (Section 11.6.3, WAP WML Version 16-Jun-1999)
abstract void setType(String newValue)
'type' specifies the type of text input area.
abstract 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)
abstract void setXmlLang(String newValue)
'xml:lang' specifics the natural or formal language in which the document is written.
[Expand]
Inherited Methods
From interface org.apache.wml.WMLElement
From interface org.w3c.dom.Element
From interface org.w3c.dom.Node

Public Methods

public abstract boolean getEmptyOk ()

public abstract String getFormat ()

public abstract int getMaxLength ()

public abstract String getName ()

public abstract int getSize ()

public abstract int getTabIndex ()

public abstract String getTitle ()

public abstract String getType ()

public abstract String getValue ()

public abstract String getXmlLang ()

public abstract 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)

public abstract void setFormat (String newValue)

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

public abstract void setMaxLength (int newValue)

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

public abstract 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)

public abstract void setSize (int newValue)

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

public abstract void setTabIndex (int newValue)

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

public abstract void setTitle (String newValue)

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

public abstract 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)

public abstract 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 abstract 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)