org.enhydra.xml.xhtml.dom.xerces
Class XHTMLFormElementImpl

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.apache.xerces.dom.ElementNSImpl
                                |
                                +--org.enhydra.xml.xhtml.dom.xerces.XHTMLElementImpl
                                      |
                                      +--org.enhydra.xml.xhtml.dom.xerces.XHTMLFormElementImpl
All Implemented Interfaces:
Cloneable, Element, EventTarget, HTMLElement, HTMLFormElement, Node, NodeList, Serializable, TypeInfo, XHTMLElement, XHTMLFormElement

public class XHTMLFormElementImpl
extends XHTMLElementImpl
implements XHTMLFormElement

See Also:
Serialized Form

Inner classes inherited from class org.enhydra.apache.xerces.dom.ParentNode
org.enhydra.apache.xerces.dom.ParentNode.UserDataRecord
 
Fields inherited from class org.enhydra.apache.xerces.dom.ElementNSImpl
localName, namespaceURI, serialVersionUID, type, xmlURI
 
Fields inherited from class org.enhydra.apache.xerces.dom.ElementImpl
attributes, name
 
Fields inherited from class org.enhydra.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
 
Fields inherited from class org.enhydra.apache.xerces.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class org.enhydra.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, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, 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
 
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.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
 
Constructor Summary
XHTMLFormElementImpl(XHTMLDocumentBase owner, String namespaceURI, String tagName)
          Constructor requires owner document.
 
Method Summary
 Node cloneNode(boolean deep)
          Explicit implementation of cloneNode() to ensure that cache used for getElements() gets cleared.
 String getAccept()
           
 String getAcceptCharset()
           
 String getAction()
           
 NodeList getChildNodes()
           
 HTMLCollection getElements()
           
 String getEnctype()
           
 int getLength()
           
 String getMethod()
           
 String getName()
           
 String getOnReset()
           
 String getOnsubmit()
           
 String getTarget()
           
 void reset()
           
 void setAccept(String accept)
           
 void setAcceptCharset(String acceptCharset)
           
 void setAction(String action)
           
 void setEnctype(String enctype)
           
 void setMethod(String method)
           
 void setName(String name)
           
 void setOnReset(String onreset)
           
 void setOnsubmit(String onsubmit)
           
 void setTarget(String target)
           
 void submit()
           
 
Methods inherited from class org.enhydra.xml.xhtml.dom.xerces.XHTMLElementImpl
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBinary, getClassName, getDir, getElementsByTagName, getElementsByTagNameNS, getForm, getId, getInteger, getLang, getOnBlur, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getStyle, getTitle, getXmlLang, setAttribute, setAttribute, setClassName, setDir, setId, setLang, setOnBlur, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setStyle, setTitle, setXmlLang
 
Methods inherited from class org.enhydra.apache.xerces.dom.ElementNSImpl
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, rename, setPrefix, setType, setValues
 
Methods inherited from class org.enhydra.apache.xerces.dom.ElementImpl
getAttributes, getDefaultAttributes, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, moveSpecifiedAttributes, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, rename, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
 
Methods inherited from class org.enhydra.apache.xerces.dom.ParentNode
checkNormalizationAfterInsert, checkNormalizationAfterRemove, getChildNodesUnoptimized, getFirstChild, getLastChild, getOwnerDocument, getTextContent, getTextContent, hasChildNodes, hasTextContent, insertBefore, internalInsertBefore, internalRemoveChild, item, lastChild, lastChild, ownerDocument, removeChild, replaceChild, setTextContent, synchronizeChildren
 
Methods inherited from class org.enhydra.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling, parentNode, previousSibling
 
Methods inherited from class org.enhydra.apache.xerces.dom.NodeImpl
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getElementAncestor, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, hasStringValue, hasStringValue, internalIsIgnorableWhitespace, isDefaultNamespace, isFirstChild, isFirstChild, isIdAttribute, isIdAttribute, isIgnorableWhitespace, isNormalized, isNormalized, isOwned, isOwned, isReadOnly, isReadOnly, isSameNode, isSpecified, isSpecified, isSupported, lookupNamespacePrefix, lookupNamespaceURI, lookupPrefix, needsSyncChildren, needsSyncChildren, needsSyncData, needsSyncData, removeEventListener, setNodeValue, 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.enhydra.xml.xhtml.dom.XHTMLFormElement
getOnClick, getOnDblClick, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getStyle, setOnClick, setOnDblClick, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setStyle
 
Methods inherited from interface org.enhydra.xml.xhtml.dom.XHTMLElement
getXmlLang, setXmlLang
 
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

XHTMLFormElementImpl

public XHTMLFormElementImpl(XHTMLDocumentBase owner,
                            String namespaceURI,
                            String tagName)
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

getAccept

public String getAccept()
Specified by:
getAccept in interface XHTMLFormElement

setAccept

public void setAccept(String accept)
Specified by:
setAccept in interface XHTMLFormElement

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

getOnReset

public String getOnReset()
Specified by:
getOnReset in interface XHTMLFormElement

setOnReset

public void setOnReset(String onreset)
Specified by:
setOnReset in interface XHTMLFormElement

getOnsubmit

public String getOnsubmit()
Specified by:
getOnsubmit in interface XHTMLFormElement

setOnsubmit

public void setOnsubmit(String onsubmit)
Specified by:
setOnsubmit in interface XHTMLFormElement

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 org.enhydra.apache.xerces.dom.ParentNode

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 org.enhydra.apache.xerces.dom.ElementImpl


Copyright © 1999-2002 Mark Diekhans, enhydra.org. All Rights reserved.