org.apache.html.dom

Class HTMLFormElementImpl

Implemented Interfaces:
Element, HTMLElement, HTMLFormElement, TypeInfo

public class HTMLFormElementImpl
extends HTMLElementImpl
implements HTMLFormElement

Version:
$Revision: 1.11 $ $Date: 2005/04/18 00:46:04 $
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

Constructor Summary

HTMLFormElementImpl(HTMLDocumentImpl owner, 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.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, 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, 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 Node cloneNode(boolean deep)
Explicit implementation of cloneNode() to ensure that cache used for getElements() gets cleared.
Overrides:
cloneNode in interface org.apache.xerces.dom.ElementImpl

getAcceptCharset

public String getAcceptCharset()

getAction

public String getAction()

getChildNodes

public NodeList getChildNodes()
Overrides:
getChildNodes in interface org.apache.xerces.dom.ParentNode

getElements

public HTMLCollection getElements()

getEnctype

public String getEnctype()

getLength

public int getLength()
Overrides:
getLength in interface org.apache.xerces.dom.ParentNode

getMethod

public String getMethod()

getName

public String getName()

getTarget

public String getTarget()

reset

public void reset()

setAcceptCharset

public void setAcceptCharset(String acceptCharset)

setAction

public void setAction(String action)

setEnctype

public void setEnctype(String enctype)

setMethod

public void setMethod(String method)

setName

public void setName(String name)

setTarget

public void setTarget(String target)

submit

public void submit()

Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.