org.apache.html.dom

Class HTMLFormElementImpl

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

public class HTMLFormElementImpl
extends HTMLElementImpl
implements org.w3c.dom.html.HTMLFormElement

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

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

Method Summary

org.w3c.dom.Node
cloneNode(boolean deep)
Explicit implementation of cloneNode() to ensure that cache used for getElements() gets cleared.
String
getAcceptCharset()
String
getAction()
org.w3c.dom.NodeList
getChildNodes()
org.w3c.dom.html.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.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

HTMLFormElementImpl

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

Method Details

cloneNode

public org.w3c.dom.Node cloneNode(boolean deep)
Explicit implementation of cloneNode() to ensure that cache used for getElements() gets cleared.
Specified by:
cloneNode in interface org.w3c.dom.Node
Overrides:
cloneNode in interface org.apache.xerces.dom.ElementImpl

getAcceptCharset

public String getAcceptCharset()
Specified by:
getAcceptCharset in interface org.w3c.dom.html.HTMLFormElement

getAction

public String getAction()
Specified by:
getAction in interface org.w3c.dom.html.HTMLFormElement

getChildNodes

public org.w3c.dom.NodeList getChildNodes()
Specified by:
getChildNodes in interface org.w3c.dom.Node
Overrides:
getChildNodes in interface org.apache.xerces.dom.ParentNode

getElements

public org.w3c.dom.html.HTMLCollection getElements()
Specified by:
getElements in interface org.w3c.dom.html.HTMLFormElement

getEnctype

public String getEnctype()
Specified by:
getEnctype in interface org.w3c.dom.html.HTMLFormElement

getLength

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

getMethod

public String getMethod()
Specified by:
getMethod in interface org.w3c.dom.html.HTMLFormElement

getName

public String getName()
Specified by:
getName in interface org.w3c.dom.html.HTMLFormElement

getTarget

public String getTarget()
Specified by:
getTarget in interface org.w3c.dom.html.HTMLFormElement

reset

public void reset()
Specified by:
reset in interface org.w3c.dom.html.HTMLFormElement

setAcceptCharset

public void setAcceptCharset(String acceptCharset)
Specified by:
setAcceptCharset in interface org.w3c.dom.html.HTMLFormElement

setAction

public void setAction(String action)
Specified by:
setAction in interface org.w3c.dom.html.HTMLFormElement

setEnctype

public void setEnctype(String enctype)
Specified by:
setEnctype in interface org.w3c.dom.html.HTMLFormElement

setMethod

public void setMethod(String method)
Specified by:
setMethod in interface org.w3c.dom.html.HTMLFormElement

setName

public void setName(String name)
Specified by:
setName in interface org.w3c.dom.html.HTMLFormElement

setTarget

public void setTarget(String target)
Specified by:
setTarget in interface org.w3c.dom.html.HTMLFormElement

submit

public void submit()
Specified by:
submit in interface org.w3c.dom.html.HTMLFormElement

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