org.apache.html.dom

Class HTMLOptionElementImpl

Implemented Interfaces:
Element, HTMLElement, HTMLOptionElement, TypeInfo

public class HTMLOptionElementImpl
extends HTMLElementImpl
implements HTMLOptionElement

Version:
$Revision: 447255 $ $Date: 2006-09-18 01:36:42 -0400 (Mon, 18 Sep 2006) $
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

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()

getDisabled

public boolean getDisabled()

getIndex

public int getIndex()

getLabel

public String getLabel()

getSelected

public boolean getSelected()

getText

public String getText()

getValue

public String getValue()

setDefaultSelected

public void setDefaultSelected(boolean defaultSelected)

setDisabled

public void setDisabled(boolean disabled)

setIndex

public void setIndex(int index)

setLabel

public void setLabel(String label)

setSelected

public void setSelected(boolean selected)

setText

public void setText(String text)

setValue

public void setValue(String value)

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