Package org.apache.wml.dom
Class WMLInputElementImpl
java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.wml.dom.WMLElementImpl
org.apache.wml.dom.WMLInputElementImpl
- All Implemented Interfaces:
Serializable
,Cloneable
,WMLElement
,WMLInputElement
,Element
,ElementTraversal
,EventTarget
,Node
,NodeList
,TypeInfo
INTERNAL:
- Usage of this class is not supported. It may be altered or removed at any time.
- Version:
- $Id: WMLInputElementImpl.java 661560 2008-05-30 03:22:25Z mrglavas $
- Author:
- David Li
- See Also:
-
Field Summary
Fields inherited from class org.apache.xerces.dom.ElementImpl
attributes, name
Fields inherited from class org.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
Fields inherited from class org.apache.xerces.dom.ChildNode
nextSibling, previousSibling
Fields inherited from class org.apache.xerces.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
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
Fields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
int
getName()
int
getSize()
int
getTitle()
getType()
getValue()
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
'format' specifies the input mask for user input.void
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
'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
'title' specifies a title for this element (Section 11.6.3, WAP WML Version 16-Jun-1999)void
'type' specifies the type of text input area.void
'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.apache.xerces.dom.ElementImpl
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getChildElementCount, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getLastElementChild, getNextElementSibling, getNodeName, getNodeType, getPreviousElementSibling, getSchemaTypeInfo, getTagName, getTypeName, getTypeNamespace, getXercesAttribute, getXMLBaseAttribute, hasAttribute, hasAttributeNS, hasAttributes, isDerivedFrom, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
Methods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren
Methods inherited from class org.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
Methods inherited from class org.apache.xerces.dom.NodeImpl
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getLocalName, getNamespaceURI, getNodeNumber, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setPrefix, 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
-
Constructor Details
-
WMLInputElementImpl
-
-
Method Details
-
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 interfaceWMLInputElement
-
getSize
public int getSize()- Specified by:
getSize
in interfaceWMLInputElement
-
setFormat
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 interfaceWMLInputElement
-
getFormat
- Specified by:
getFormat
in interfaceWMLInputElement
-
setValue
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 interfaceWMLInputElement
-
getValue
- Specified by:
getValue
in interfaceWMLInputElement
-
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 interfaceWMLInputElement
-
getMaxLength
public int getMaxLength()- Specified by:
getMaxLength
in interfaceWMLInputElement
-
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 interfaceWMLInputElement
-
getTabIndex
public int getTabIndex()- Specified by:
getTabIndex
in interfaceWMLInputElement
-
setClassName
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 interfaceWMLElement
- Overrides:
setClassName
in classWMLElementImpl
-
getClassName
- Specified by:
getClassName
in interfaceWMLElement
- Overrides:
getClassName
in classWMLElementImpl
-
setXmlLang
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 interfaceWMLInputElement
- Overrides:
setXmlLang
in classWMLElementImpl
-
getXmlLang
- Specified by:
getXmlLang
in interfaceWMLInputElement
- Overrides:
getXmlLang
in classWMLElementImpl
-
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 interfaceWMLInputElement
-
getEmptyOk
public boolean getEmptyOk()- Specified by:
getEmptyOk
in interfaceWMLInputElement
-
setTitle
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 interfaceWMLInputElement
-
getTitle
- Specified by:
getTitle
in interfaceWMLInputElement
-
setId
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 interfaceWMLElement
- Overrides:
setId
in classWMLElementImpl
-
getId
- Specified by:
getId
in interfaceWMLElement
- Overrides:
getId
in classWMLElementImpl
-
setType
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 interfaceWMLInputElement
-
getType
- Specified by:
getType
in interfaceWMLInputElement
-
setName
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 interfaceWMLInputElement
-
getName
- Specified by:
getName
in interfaceWMLInputElement
-