org.apache.html.dom

Class HTMLOptionElementImpl

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

public class HTMLOptionElementImpl
extends HTMLElementImpl
implements org.w3c.dom.html.HTMLOptionElement

Version:
$Revision: 329271 $ $Date: 2005-10-28 15:25:05 -0400 (Fri, 28 Oct 2005) $
Author:
Assaf Arkin
See Also:
org.w3c.dom.html.HTMLOptionElement, 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

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

Method Summary

boolean
getDefaultSelected()
boolean
getDisabled()
int
getIndex()
String
getLabel()
boolean
getSelected()
String
getText()
String
getValue()
void
setDefaultSelected(boolean defaultSelected)
void
setDisabled(boolean disabled)
void
setIndex(int index)
void
setLabel(String label)
void
setSelected(boolean selected)
void
setText(String text)
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

HTMLOptionElementImpl

public HTMLOptionElementImpl(HTMLDocumentImpl owner,
                             String name)
Constructor requires owner document.
Parameters:
owner - The owner HTML document

Method Details

getDefaultSelected

public boolean getDefaultSelected()
Specified by:
getDefaultSelected in interface org.w3c.dom.html.HTMLOptionElement

getDisabled

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

getIndex

public int getIndex()
Specified by:
getIndex in interface org.w3c.dom.html.HTMLOptionElement

getLabel

public String getLabel()
Specified by:
getLabel in interface org.w3c.dom.html.HTMLOptionElement

getSelected

public boolean getSelected()
Specified by:
getSelected in interface org.w3c.dom.html.HTMLOptionElement

getText

public String getText()
Specified by:
getText in interface org.w3c.dom.html.HTMLOptionElement

getValue

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

setDefaultSelected

public void setDefaultSelected(boolean defaultSelected)
Specified by:
setDefaultSelected in interface org.w3c.dom.html.HTMLOptionElement

setDisabled

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

setIndex

public void setIndex(int index)
Specified by:
setIndex in interface org.w3c.dom.html.HTMLOptionElement

setLabel

public void setLabel(String label)
Specified by:
setLabel in interface org.w3c.dom.html.HTMLOptionElement

setSelected

public void setSelected(boolean selected)

setText

public void setText(String text)

setValue

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

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.