org.enhydra.apache.wml.dom
Class WMLInputElementImpl
java.lang.Object
|
+--org.enhydra.apache.xerces.dom.NodeImpl
|
+--org.enhydra.apache.xerces.dom.ChildNode
|
+--org.enhydra.apache.xerces.dom.ParentNode
|
+--org.enhydra.apache.xerces.dom.ElementImpl
|
+--org.enhydra.apache.wml.dom.WMLElementImpl
|
+--org.enhydra.apache.wml.dom.WMLInputElementImpl
- All Implemented Interfaces:
- Cloneable, Element, EventTarget, Node, NodeList, Serializable, WMLElement, WMLInputElement
- public class WMLInputElementImpl
- extends WMLElementImpl
- implements WMLInputElement
- Version:
- $Id: WMLInputElementImpl.java,v 1.2 2005/01/26 08:28:44 jkjome Exp $
- Author:
- David Li
- See Also:
- Serialized Form
Fields inherited from class org.enhydra.apache.xerces.dom.NodeImpl |
ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, UNNORMALIZED |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Method Summary |
String |
getClassName()
|
boolean |
getEmptyOk()
|
String |
getFormat()
|
String |
getId()
|
int |
getMaxLength()
|
String |
getName()
|
int |
getSize()
|
int |
getTabIndex()
|
String |
getTitle()
|
String |
getType()
|
String |
getValue()
|
String |
getXmlLang()
|
void |
setClassName(String newValue)
The 'class' attribute of a element that affiliates an elements
with one or more elements. |
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 |
setId(String newValue)
The element's identifier which is unique in a single deck. |
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. |
Methods inherited from class org.enhydra.apache.xerces.dom.ElementImpl |
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, hasAttributes, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, synchronizeData |
Methods inherited from class org.enhydra.apache.xerces.dom.ParentNode |
checkNormalizationAfterInsert, checkNormalizationAfterRemove, getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, insertBefore, internalInsertBefore, internalRemoveChild, item, lastChild, lastChild, ownerDocument, removeChild, replaceChild, synchronizeChildren |
Methods inherited from class org.enhydra.apache.xerces.dom.NodeImpl |
addEventListener, appendChild, changed, changes, compareDocumentPosition, dispatchEvent, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getTextContent, getUserData, getUserData, hasStringValue, hasStringValue, internalIsIgnorableWhitespace, isDefaultNamespace, isEqualNode, isFirstChild, isFirstChild, isIgnorableWhitespace, isNormalized, isNormalized, isOwned, isOwned, isReadOnly, isReadOnly, isSameNode, isSpecified, isSpecified, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, needsSyncChildren, needsSyncData, needsSyncData, removeEventListener, setNodeValue, setPrefix, setTextContent, setUserData, setUserData, toString |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
WMLInputElementImpl
public WMLInputElementImpl(WMLDocumentImpl owner,
String tagName)
setSize
public void setSize(int newValue)
- Description copied from interface:
WMLInputElement
- 'size' specifies the width of the input in characters
(Section 11.6.3, WAP WML Version 16-Jun-1999)
- Specified by:
setSize
in interface WMLInputElement
getSize
public int getSize()
- Specified by:
getSize
in interface WMLInputElement
setFormat
public void setFormat(String newValue)
- Description copied from interface:
WMLInputElement
- 'format' specifies the input mask for user input.
(Section 11.6.3, WAP WML Version 16-Jun-1999)
- Specified by:
setFormat
in interface WMLInputElement
getFormat
public String getFormat()
- Specified by:
getFormat
in interface WMLInputElement
setValue
public void setValue(String newValue)
- Description copied from interface:
WMLInputElement
- 'value' specifies the default value of the variable in 'name' attribute
(Section 11.6.3, WAP WML Version 16-Jun-1999)
- Specified by:
setValue
in interface WMLInputElement
getValue
public String getValue()
- Specified by:
getValue
in interface WMLInputElement
setMaxLength
public void setMaxLength(int newValue)
- Description copied from interface:
WMLInputElement
- 'maxlength' specifies the maximum number of characters to be
enter.
(Section 11.6.3, WAP WML Version 16-Jun-1999)
- Specified by:
setMaxLength
in interface WMLInputElement
getMaxLength
public int getMaxLength()
- Specified by:
getMaxLength
in interface WMLInputElement
setTabIndex
public void setTabIndex(int newValue)
- Description copied from interface:
WMLInputElement
- 'tabindex' specifies the tabbing position of the element
(Section 11.6.1, WAP WML Version 16-Jun-1999)
- Specified by:
setTabIndex
in interface WMLInputElement
getTabIndex
public int getTabIndex()
- Specified by:
getTabIndex
in interface WMLInputElement
setClassName
public void setClassName(String newValue)
- Description copied from interface:
WMLElement
- The 'class' attribute of a element that affiliates an elements
with one or more elements.
(Section 8.9, WAP WML Version 16-Jun-1999)
- Specified by:
setClassName
in interface WMLElement
- Overrides:
setClassName
in class WMLElementImpl
getClassName
public String getClassName()
- Specified by:
getClassName
in interface WMLElement
- Overrides:
getClassName
in class WMLElementImpl
setXmlLang
public void setXmlLang(String newValue)
- Description copied from interface:
WMLInputElement
- 'xml:lang' specifics the natural or formal language in which
the document is written.
(Section 8.8, WAP WML Version 16-Jun-1999)
- Specified by:
setXmlLang
in interface WMLInputElement
- Overrides:
setXmlLang
in class WMLElementImpl
getXmlLang
public String getXmlLang()
- Specified by:
getXmlLang
in interface WMLInputElement
- Overrides:
getXmlLang
in class WMLElementImpl
setEmptyOk
public void setEmptyOk(boolean newValue)
- Description copied from interface:
WMLInputElement
- '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)
- Specified by:
setEmptyOk
in interface WMLInputElement
getEmptyOk
public boolean getEmptyOk()
- Specified by:
getEmptyOk
in interface WMLInputElement
setTitle
public void setTitle(String newValue)
- Description copied from interface:
WMLInputElement
- 'title' specifies a title for this element
(Section 11.6.3, WAP WML Version 16-Jun-1999)
- Specified by:
setTitle
in interface WMLInputElement
getTitle
public String getTitle()
- Specified by:
getTitle
in interface WMLInputElement
setId
public void setId(String newValue)
- Description copied from interface:
WMLElement
- The element's identifier which is unique in a single deck.
(Section 8.9, WAP WML Version 16-Jun-1999)
- Specified by:
setId
in interface WMLElement
- Overrides:
setId
in class WMLElementImpl
getId
public String getId()
- Specified by:
getId
in interface WMLElement
- Overrides:
getId
in class WMLElementImpl
setType
public void setType(String newValue)
- Description copied from interface:
WMLInputElement
- '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)
- Specified by:
setType
in interface WMLInputElement
getType
public String getType()
- Specified by:
getType
in interface WMLInputElement
setName
public void setName(String newValue)
- Description copied from interface:
WMLInputElement
- 'name' specifies the name of a variable after the user enters the text.
(Section 11.6.3, WAP WML Version 16-Jun-1999)
- Specified by:
setName
in interface WMLInputElement
getName
public String getName()
- Specified by:
getName
in interface WMLInputElement
Copyright © 1999 The Apache Software Foundation. All Rights reserved.