org.enhydra.xml.lazydom.html
Class HTMLOptionElementImpl

java.lang.Object
  |
  +--org.enhydra.apache.xerces.dom.NodeImpl
        |
        +--org.enhydra.apache.xerces.dom.ChildNode
              |
              +--org.enhydra.apache.xerces.dom.ParentNode
                    |
                    +--org.enhydra.apache.xerces.dom.ElementImpl
                          |
                          +--org.enhydra.xml.lazydom.LazyElementNoNS
                                |
                                +--org.enhydra.xml.lazydom.html.LazyHTMLElement
                                      |
                                      +--org.enhydra.xml.lazydom.html.HTMLOptionElementImpl
All Implemented Interfaces:
Cloneable, Element, EventTarget, HTMLElement, HTMLOptionElement, LazyElement, LazyNode, LazyParent, Node, NodeList, PreFormattedText, Serializable

public class HTMLOptionElementImpl
extends LazyHTMLElement
implements HTMLOptionElement

Version:
$Revision: 1.2 $ $Date: 2005/01/26 08:29:24 $
Author:
Assaf Arkin
See Also:
HTMLOptionElement, LazyElementNoNS, Serialized Form

Fields inherited from class org.enhydra.apache.xerces.dom.ElementImpl
attributes, name, serialVersionUID
 
Fields inherited from class org.enhydra.apache.xerces.dom.ParentNode
fCachedChild, fCachedChildIndex, fCachedLength, firstChild, ownerDocument
 
Fields inherited from class org.enhydra.apache.xerces.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class org.enhydra.apache.xerces.dom.NodeImpl
ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, UNNORMALIZED
 
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.enhydra.xml.lazydom.LazyNode
DOCUMENT_NODE_ID, NULL_NODE_ID
 
Constructor Summary
HTMLOptionElementImpl(LazyHTMLDocument owner, LazyElement template, 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.enhydra.xml.lazydom.html.LazyHTMLElement
capitalize, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBinary, getCapitalized, getClassName, getDir, getElementsByTagName, getElementsByTagNameNS, getForm, getId, getInteger, getLang, getTitle, setAttribute, setClassName, setDir, setId, setLang, setTitle
 
Methods inherited from class org.enhydra.xml.lazydom.LazyElementNoNS
appendChild, appendChildWhileExpanding, areAttributesExpanded, areChildrenExpanded, cloneNode, expandChildren, getAttributes, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeId, getParentNode, getPreFormattedText, getPreviousSibling, getTemplateElement, getTemplateNode, hasChildNodes, insertBefore, isParentExpanded, isTemplateNode, makeTemplateNode, makeTemplateNode, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, replaceChild, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setChildrenExpanded, setNodeValue, setParentExpanded, setParentWhileExpanding, setPreFormattedText, templateClone
 
Methods inherited from class org.enhydra.apache.xerces.dom.ElementImpl
getDefaultAttributes, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, hasAttributes, reconcileDefaultAttributes, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, synchronizeData
 
Methods inherited from class org.enhydra.apache.xerces.dom.ParentNode
checkNormalizationAfterInsert, checkNormalizationAfterRemove, getChildNodesUnoptimized, getLength, getOwnerDocument, internalInsertBefore, internalRemoveChild, item, lastChild, lastChild, ownerDocument, synchronizeChildren
 
Methods inherited from class org.enhydra.apache.xerces.dom.ChildNode
parentNode, previousSibling
 
Methods inherited from class org.enhydra.apache.xerces.dom.NodeImpl
addEventListener, changed, changes, compareDocumentPosition, dispatchEvent, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getTextContent, getUserData, getUserData, hasStringValue, hasStringValue, internalIsIgnorableWhitespace, isDefaultNamespace, isEqualNode, isFirstChild, isFirstChild, isIgnorableWhitespace, isNormalized, isNormalized, isOwned, isOwned, isReadOnly, isReadOnly, isSameNode, isSpecified, isSpecified, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, needsSyncChildren, needsSyncData, needsSyncData, removeEventListener, setPrefix, setTextContent, 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.html.HTMLOptionElement
getForm
 
Methods inherited from interface org.w3c.dom.html.HTMLElement
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle
 
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 Detail

HTMLOptionElementImpl

public HTMLOptionElementImpl(LazyHTMLDocument owner,
                             LazyElement template,
                             String name)
Constructor requires owner document.
Parameters:
owner - The owner HTML document
Method Detail

getDefaultSelected

public boolean getDefaultSelected()
Specified by:
getDefaultSelected in interface HTMLOptionElement

setDefaultSelected

public void setDefaultSelected(boolean defaultSelected)
Specified by:
setDefaultSelected in interface HTMLOptionElement

getText

public String getText()
Specified by:
getText in interface HTMLOptionElement

setText

public void setText(String text)

getIndex

public int getIndex()
Specified by:
getIndex in interface HTMLOptionElement

setIndex

public void setIndex(int index)
Specified by:
setIndex in interface HTMLOptionElement

getDisabled

public boolean getDisabled()
Specified by:
getDisabled in interface HTMLOptionElement

setDisabled

public void setDisabled(boolean disabled)
Specified by:
setDisabled in interface HTMLOptionElement

getLabel

public String getLabel()
Specified by:
getLabel in interface HTMLOptionElement

setLabel

public void setLabel(String label)
Specified by:
setLabel in interface HTMLOptionElement

getSelected

public boolean getSelected()
Specified by:
getSelected in interface HTMLOptionElement

setSelected

public void setSelected(boolean selected)

getValue

public String getValue()
Specified by:
getValue in interface HTMLOptionElement

setValue

public void setValue(String value)
Specified by:
setValue in interface HTMLOptionElement


Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.