org.apache.html.dom

Class HTMLInputElementImpl

Implemented Interfaces:
Cloneable, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.html.HTMLElement, HTMLFormControl, org.w3c.dom.html.HTMLInputElement, Serializable, TypeInfo, org.w3c.dom.Node, org.w3c.dom.NodeList

public class HTMLInputElementImpl
extends HTMLElementImpl
implements org.w3c.dom.html.HTMLInputElement, HTMLFormControl

Version:
$Revision: 1.6 $ $Date: 2003/05/08 20:13:09 $

Author:
Assaf Arkin

See Also:
org.w3c.dom.html.HTMLInputElement, org.apache.xerces.dom.ElementImpl

Field Summary

Fields inherited from class org.apache.xerces.dom.ElementImpl

attributes, name

Fields inherited from class org.apache.xerces.dom.ParentNode

fNodeListCache, firstChild, 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, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, 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, flags, ownerNode

Fields inherited from interface org.w3c.dom.Node

ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE

Constructor Summary

HTMLInputElementImpl(HTMLDocumentImpl owner, String name)
Constructor requires owner document.

Method Summary

void
blur()
void
click()
void
focus()
String
getAccept()
String
getAccessKey()
String
getAlign()
String
getAlt()
boolean
getChecked()
boolean
getDefaultChecked()
String
getDefaultValue()
boolean
getDisabled()
int
getMaxLength()
String
getName()
boolean
getReadOnly()
String
getSize()
String
getSrc()
int
getTabIndex()
String
getType()
String
getUseMap()
String
getValue()
void
select()
void
setAccept(String accept)
void
setAccessKey(String accessKey)
void
setAlign(String align)
void
setAlt(String alt)
void
setChecked(boolean checked)
void
setDefaultChecked(boolean defaultChecked)
void
setDefaultValue(String defaultValue)
void
setDisabled(boolean disabled)
void
setMaxLength(int maxLength)
void
setName(String name)
void
setReadOnly(boolean readOnly)
void
setSize(String size)
void
setSrc(String src)
void
setTabIndex(int tabIndex)
void
setUseMap(String useMap)
void
setValue(String value)

Methods inherited from class org.apache.html.dom.HTMLElementImpl

getAttribute, getAttributeNS, getAttributeNode, getAttributeNodeNS, getClassName, getDir, getElementsByTagName, getElementsByTagNameNS, getForm, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle

Methods inherited from class org.apache.xerces.dom.ElementImpl

cloneNode, getAttribute, getAttributeNS, getAttributeNode, getAttributeNodeNS, getAttributes, getBaseURI, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getTypeName, getTypeNamespace, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isDerivedFrom, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNS, removeAttributeNode, setAttribute, setAttributeNS, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNS, setIdAttributeNode, setReadOnly, setXercesAttributeNode, setupDefaultAttributes, synchronizeData

Methods inherited from class org.apache.xerces.dom.ParentNode

cloneNode, getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, isEqualNode, item, normalize, removeChild, replaceChild, setReadOnly, setTextContent, synchronizeChildren

Methods inherited from class org.apache.xerces.dom.ChildNode

cloneNode, getNextSibling, getParentNode, getPreviousSibling

Methods inherited from class org.apache.xerces.dom.NodeImpl

addEventListener, appendChild, changed, changes, cloneNode, compareDocumentPosition, compareTreePosition, dispatchEvent, getAttributes, getBaseURI, getChildNodes, getContainer, getFeature, getFirstChild, getLastChild, getLength, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeNumber, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getReadOnly, getTextContent, getUserData, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, needsSyncChildren, normalize, removeChild, removeEventListener, replaceChild, setNodeValue, setPrefix, setReadOnly, setTextContent, setUserData, setUserData, synchronizeData, toString

Constructor Details

HTMLInputElementImpl

public HTMLInputElementImpl(HTMLDocumentImpl owner,
                            String name)
Constructor requires owner document.

Parameters:
owner - The owner HTML document

Method Details

blur

public void blur()
Specified by:
blur in interface org.w3c.dom.html.HTMLInputElement


click

public void click()
Specified by:
click in interface org.w3c.dom.html.HTMLInputElement


focus

public void focus()
Specified by:
focus in interface org.w3c.dom.html.HTMLInputElement


getAccept

public String getAccept()
Specified by:
getAccept in interface org.w3c.dom.html.HTMLInputElement


getAccessKey

public String getAccessKey()
Specified by:
getAccessKey in interface org.w3c.dom.html.HTMLInputElement


getAlign

public String getAlign()
Specified by:
getAlign in interface org.w3c.dom.html.HTMLInputElement


getAlt

public String getAlt()
Specified by:
getAlt in interface org.w3c.dom.html.HTMLInputElement


getChecked

public boolean getChecked()
Specified by:
getChecked in interface org.w3c.dom.html.HTMLInputElement


getDefaultChecked

public boolean getDefaultChecked()
Specified by:
getDefaultChecked in interface org.w3c.dom.html.HTMLInputElement


getDefaultValue

public String getDefaultValue()
Specified by:
getDefaultValue in interface org.w3c.dom.html.HTMLInputElement


getDisabled

public boolean getDisabled()
Specified by:
getDisabled in interface org.w3c.dom.html.HTMLInputElement


getMaxLength

public int getMaxLength()
Specified by:
getMaxLength in interface org.w3c.dom.html.HTMLInputElement


getName

public String getName()
Specified by:
getName in interface org.w3c.dom.html.HTMLInputElement


getReadOnly

public boolean getReadOnly()
Specified by:
getReadOnly in interface org.w3c.dom.html.HTMLInputElement
Overrides:
getReadOnly in interface org.apache.xerces.dom.NodeImpl


getSize

public String getSize()
Specified by:
getSize in interface org.w3c.dom.html.HTMLInputElement


getSrc

public String getSrc()
Specified by:
getSrc in interface org.w3c.dom.html.HTMLInputElement


getTabIndex

public int getTabIndex()
Specified by:
getTabIndex in interface org.w3c.dom.html.HTMLInputElement


getType

public String getType()
Specified by:
getType in interface org.w3c.dom.html.HTMLInputElement


getUseMap

public String getUseMap()
Specified by:
getUseMap in interface org.w3c.dom.html.HTMLInputElement


getValue

public String getValue()
Specified by:
getValue in interface org.w3c.dom.html.HTMLInputElement


select

public void select()
Specified by:
select in interface org.w3c.dom.html.HTMLInputElement


setAccept

public void setAccept(String accept)
Specified by:
setAccept in interface org.w3c.dom.html.HTMLInputElement


setAccessKey

public void setAccessKey(String accessKey)
Specified by:
setAccessKey in interface org.w3c.dom.html.HTMLInputElement


setAlign

public void setAlign(String align)
Specified by:
setAlign in interface org.w3c.dom.html.HTMLInputElement


setAlt

public void setAlt(String alt)
Specified by:
setAlt in interface org.w3c.dom.html.HTMLInputElement


setChecked

public void setChecked(boolean checked)
Specified by:
setChecked in interface org.w3c.dom.html.HTMLInputElement


setDefaultChecked

public void setDefaultChecked(boolean defaultChecked)
Specified by:
setDefaultChecked in interface org.w3c.dom.html.HTMLInputElement


setDefaultValue

public void setDefaultValue(String defaultValue)
Specified by:
setDefaultValue in interface org.w3c.dom.html.HTMLInputElement


setDisabled

public void setDisabled(boolean disabled)
Specified by:
setDisabled in interface org.w3c.dom.html.HTMLInputElement


setMaxLength

public void setMaxLength(int maxLength)
Specified by:
setMaxLength in interface org.w3c.dom.html.HTMLInputElement


setName

public void setName(String name)
Specified by:
setName in interface org.w3c.dom.html.HTMLInputElement


setReadOnly

public void setReadOnly(boolean readOnly)
Specified by:
setReadOnly in interface org.w3c.dom.html.HTMLInputElement


setSize

public void setSize(String size)
Specified by:
setSize in interface org.w3c.dom.html.HTMLInputElement


setSrc

public void setSrc(String src)
Specified by:
setSrc in interface org.w3c.dom.html.HTMLInputElement


setTabIndex

public void setTabIndex(int tabIndex)
Specified by:
setTabIndex in interface org.w3c.dom.html.HTMLInputElement


setUseMap

public void setUseMap(String useMap)
Specified by:
setUseMap in interface org.w3c.dom.html.HTMLInputElement


setValue

public void setValue(String value)
Specified by:
setValue in interface org.w3c.dom.html.HTMLInputElement


Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.