org.apache.html.dom

Class HTMLFormElementImpl

Implemented Interfaces:
Cloneable, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.html.HTMLElement, org.w3c.dom.html.HTMLFormElement, Serializable, TypeInfo, org.w3c.dom.Node, org.w3c.dom.NodeList

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

Version:
$Revision: 1.7 $ $Date: 2003/05/08 20:13:09 $

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 class org.apache.xerces.dom.ChildNode

nextSibling, previousSibling

Fields inherited from class org.apache.xerces.dom.NodeImpl

DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE, flags, ownerNode

Fields inherited from interface org.w3c.dom.Node

ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE

Constructor Summary

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

Method Summary

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, 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

Methods inherited from class org.apache.xerces.dom.ChildNode

cloneNode, getNextSibling, getParentNode, getPreviousSibling

Methods inherited from class org.apache.xerces.dom.NodeImpl

addEventListener, appendChild, changed, changes, cloneNode, compareDocumentPosition, compareTreePosition, dispatchEvent, getAttributes, getBaseURI, getChildNodes, getContainer, getFeature, getFirstChild, getLastChild, getLength, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeNumber, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getReadOnly, getTextContent, getUserData, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, needsSyncChildren, normalize, removeChild, removeEventListener, replaceChild, setNodeValue, setPrefix, setReadOnly, setTextContent, setUserData, setUserData, synchronizeData, toString

Constructor Details

HTMLFormElementImpl

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

Parameters:
owner - The owner HTML document

Method Details

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
getLength in interface org.w3c.dom.NodeList
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-2004 Apache XML Project. All Rights Reserved.