public class

HTMLFormElementImpl

extends HTMLElementImpl
implements HTMLFormElement
java.lang.Object
   ↳ org.apache.xerces.dom.NodeImpl
     ↳ org.apache.xerces.dom.ChildNode
       ↳ org.apache.xerces.dom.ParentNode
         ↳ org.apache.xerces.dom.ElementImpl
           ↳ org.apache.html.dom.HTMLElementImpl
             ↳ org.apache.html.dom.HTMLFormElementImpl

Class Overview

@xerces.internal

See Also

Summary

[Expand]
Inherited Constants
From class org.apache.xerces.dom.NodeImpl
From interface org.w3c.dom.Node
From interface org.w3c.dom.TypeInfo
[Expand]
Inherited Fields
From class org.apache.xerces.dom.ElementImpl
From class org.apache.xerces.dom.ParentNode
From class org.apache.xerces.dom.ChildNode
From class org.apache.xerces.dom.NodeImpl
Public Constructors
HTMLFormElementImpl(HTMLDocumentImpl owner, String name)
Constructor requires owner document.
Public Methods
Node cloneNode(boolean deep)
Explicit implementation of cloneNode() to ensure that cache used for getElements() gets cleared.
String getAcceptCharset()
String getAction()
NodeList getChildNodes()
Obtain a NodeList enumerating all children of this node.
HTMLCollection getElements()
String getEnctype()
int getLength()
NodeList method: Count the immediate children of this node
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()
[Expand]
Inherited Methods
From class org.apache.html.dom.HTMLElementImpl
From class org.apache.xerces.dom.ElementImpl
From class org.apache.xerces.dom.ParentNode
From class org.apache.xerces.dom.ChildNode
From class org.apache.xerces.dom.NodeImpl
From class java.lang.Object
From interface org.w3c.dom.Element
From interface org.w3c.dom.Node
From interface org.w3c.dom.NodeList
From interface org.w3c.dom.TypeInfo
From interface org.w3c.dom.events.EventTarget
From interface org.w3c.dom.html.HTMLElement
From interface org.w3c.dom.html.HTMLFormElement

Public Constructors

public HTMLFormElementImpl (HTMLDocumentImpl owner, String name)

Constructor requires owner document.

Parameters
owner The owner HTML document

Public Methods

public Node cloneNode (boolean deep)

Explicit implementation of cloneNode() to ensure that cache used for getElements() gets cleared.

public String getAcceptCharset ()

public String getAction ()

public NodeList getChildNodes ()

Obtain a NodeList enumerating all children of this node. If there are none, an (initially) empty NodeList is returned.

NodeLists are "live"; as children are added/removed the NodeList will immediately reflect those changes. Also, the NodeList refers to the actual nodes, so changes to those nodes made via the DOM tree will be reflected in the NodeList and vice versa.

In this implementation, Nodes implement the NodeList interface and provide their own getChildNodes() support. Other DOMs may solve this differently.

public HTMLCollection getElements ()

public String getEnctype ()

public int getLength ()

NodeList method: Count the immediate children of this node

Returns
  • int

public String getMethod ()

public String getName ()

public String getTarget ()

public void reset ()

public void setAcceptCharset (String acceptCharset)

public void setAction (String action)

public void setEnctype (String enctype)

public void setMethod (String method)

public void setName (String name)

public void setTarget (String target)

public void submit ()