org.enhydra.xml.lazydom.html
Class HTMLFormElementImpl

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.HTMLFormElementImpl
All Implemented Interfaces:
Cloneable, Element, EventTarget, HTMLElement, HTMLFormElement, LazyElement, LazyNode, LazyParent, Node, NodeList, PreFormattedText, Serializable

public class HTMLFormElementImpl
extends LazyHTMLElement
implements HTMLFormElement

Version:
$Revision: 1.3 $ $Date: 2005/01/26 08:29:24 $
Author:
Assaf Arkin
See Also:
HTMLFormElement, 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
HTMLFormElementImpl(LazyHTMLDocument owner, LazyElement template, String name)
          Constructor requires owner document.
 
Method Summary
 Node cloneNode(boolean deep)
          Explicit implementation of cloneNode() to ensure that cache used for getElements() gets cleared.
 String getAcceptCharset()
           
 String getAction()
           
 NodeList getChildNodes()
           
 HTMLCollection getElements()
           
 String getEnctype()
           
 int getLength()
           
 String getMethod()
           
 String getName()
           
 String getTarget()
           
 void reset()
           
 void setAcceptCharset(String acceptCharset)
           
 void setAction(String action)
           
 void setEnctype(String enctype)
           
 void setMethod(String method)
           
 void setName(String name)
           
 void setTarget(String target)
           
 void submit()
           
 
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, expandChildren, getAttributes, 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, 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.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, compareDocumentPosition, getAttributes, getBaseURI, 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

HTMLFormElementImpl

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

getElements

public HTMLCollection getElements()
Specified by:
getElements in interface HTMLFormElement

getLength

public int getLength()
Specified by:
getLength in interface HTMLFormElement
Overrides:
getLength in class org.enhydra.apache.xerces.dom.ParentNode

getName

public String getName()
Specified by:
getName in interface HTMLFormElement

setName

public void setName(String name)
Specified by:
setName in interface HTMLFormElement

getAcceptCharset

public String getAcceptCharset()
Specified by:
getAcceptCharset in interface HTMLFormElement

setAcceptCharset

public void setAcceptCharset(String acceptCharset)
Specified by:
setAcceptCharset in interface HTMLFormElement

getAction

public String getAction()
Specified by:
getAction in interface HTMLFormElement

setAction

public void setAction(String action)
Specified by:
setAction in interface HTMLFormElement

getEnctype

public String getEnctype()
Specified by:
getEnctype in interface HTMLFormElement

setEnctype

public void setEnctype(String enctype)
Specified by:
setEnctype in interface HTMLFormElement

getMethod

public String getMethod()
Specified by:
getMethod in interface HTMLFormElement

setMethod

public void setMethod(String method)
Specified by:
setMethod in interface HTMLFormElement

getTarget

public String getTarget()
Specified by:
getTarget in interface HTMLFormElement

setTarget

public void setTarget(String target)
Specified by:
setTarget in interface HTMLFormElement

submit

public void submit()
Specified by:
submit in interface HTMLFormElement

reset

public void reset()
Specified by:
reset in interface HTMLFormElement

getChildNodes

public NodeList getChildNodes()
Specified by:
getChildNodes in interface Node
Overrides:
getChildNodes in class LazyElementNoNS
Following copied from class: org.enhydra.xml.lazydom.LazyElementNoNS
See Also:
Node.getChildNodes()

cloneNode

public Node cloneNode(boolean deep)
Explicit implementation of cloneNode() to ensure that cache used for getElements() gets cleared.
Specified by:
cloneNode in interface Node
Overrides:
cloneNode in class LazyElementNoNS
Following copied from class: org.enhydra.xml.lazydom.LazyElementNoNS
See Also:
Node.cloneNode(boolean)


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