org.apache.html.dom

Class HTMLInputElementImpl

Implemented Interfaces:
org.w3c.dom.Element, org.w3c.dom.html.HTMLElement, HTMLFormControl, org.w3c.dom.html.HTMLInputElement, org.w3c.dom.TypeInfo

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

Version:
$Revision: 329271 $ $Date: 2005-10-28 15:25:05 -0400 (Fri, 28 Oct 2005) $
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 interface org.w3c.dom.TypeInfo

DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION

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, setOwnerDocument, 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, setOwnerDocument, setReadOnly, setTextContent, synchronizeChildren

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

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-2006 The Apache Software Foundation. All Rights Reserved.