org.apache.wml
Interface WMLInputElement
public
interface
WMLInputElement
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
'input' element specifies a text entry object.
(Section 11.6.3, WAP WML Version 16-Jun-1999)
Version: $Id: WMLInputElement.java,v 1.2 2004/02/24 23:34:05 mrglavas Exp $
Author: David Li
Method Summary |
boolean | getEmptyOk() |
String | getFormat() |
int | getMaxLength() |
String | getName() |
int | getSize() |
int | getTabIndex() |
String | getTitle() |
String | getType() |
String | getValue() |
String | getXmlLang() |
void | setEmptyOk(boolean newValue)
'emptyok' specifies whether a empty input is allowed when a
non-empty 'format' is specified. |
void | setFormat(String newValue)
'format' specifies the input mask for user input.
|
void | setMaxLength(int newValue)
'maxlength' specifies the maximum number of characters to be
enter.
|
void | setName(String newValue)
'name' specifies the name of a variable after the user enters the text.
|
void | setSize(int newValue)
'size' specifies the width of the input in characters
(Section 11.6.3, WAP WML Version 16-Jun-1999) |
void | setTabIndex(int newValue)
'tabindex' specifies the tabbing position of the element
(Section 11.6.1, WAP WML Version 16-Jun-1999) |
void | setTitle(String newValue)
'title' specifies a title for this element
(Section 11.6.3, WAP WML Version 16-Jun-1999) |
void | setType(String newValue)
'type' specifies the type of text input area.
|
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) |
void | setXmlLang(String newValue)
'xml:lang' specifics the natural or formal language in which
the document is written.
|
public boolean getEmptyOk()
public String getFormat()
public int getMaxLength()
public String getName()
public int getSize()
public int getTabIndex()
public String getTitle()
public String getType()
public String getValue()
public String getXmlLang()
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)
public void setFormat(String newValue)
'format' specifies the input mask for user input.
(Section 11.6.3, WAP WML Version 16-Jun-1999)
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)
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)
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.
Two values are allowed: 'text' and 'password' and default is 'text'
(Section 11.6.3, WAP WML Version 16-Jun-1999)
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.
(Section 8.8, WAP WML Version 16-Jun-1999)
Copyright © 1999-2005 Apache XML Project. All Rights Reserved.