FileDocCategorySizeDatePackage
WMLInputElement.javaAPI DocApache Xerces 3.0.13731Fri Sep 14 20:33:54 BST 2007org.apache.wml

WMLInputElement

public interface WMLInputElement implements 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

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

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

Fields Summary
Constructors Summary
Methods Summary
public booleangetEmptyOk()

public java.lang.StringgetFormat()

public intgetMaxLength()

public java.lang.StringgetName()

public intgetSize()

public intgetTabIndex()

public java.lang.StringgetTitle()

public java.lang.StringgetType()

public java.lang.StringgetValue()

public java.lang.StringgetXmlLang()

public voidsetEmptyOk(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 voidsetFormat(java.lang.String newValue)
'format' specifies the input mask for user input. (Section 11.6.3, WAP WML Version 16-Jun-1999)

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

public voidsetName(java.lang.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 voidsetSize(int newValue)
'size' specifies the width of the input in characters (Section 11.6.3, WAP WML Version 16-Jun-1999)

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

public voidsetTitle(java.lang.String newValue)
'title' specifies a title for this element (Section 11.6.3, WAP WML Version 16-Jun-1999)

public voidsetType(java.lang.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 voidsetValue(java.lang.String newValue)
'value' specifies the default value of the variable in 'name' attribute (Section 11.6.3, WAP WML Version 16-Jun-1999)

public voidsetXmlLang(java.lang.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)