Top Fields Constructors Methods
org.apache.html.dom

public Class HTMLMapElementImpl

extends HTMLElementImpl
implements HTMLMapElement
Class Inheritance
All Implemented Interfaces
org.w3c.dom.html.HTMLMapElement, org.w3c.dom.html.HTMLElement, org.w3c.dom.Element, org.w3c.dom.Node
Imports
org.w3c.dom.Node, org.w3c.dom.html.HTMLCollection, .HTMLMapElement

Author
Assaf Arkin
Version
$Revision: 1029415 $ $Date: 2010-10-31 22:32:22 +0530 (Sun, 31 Oct 2010) $
See Also
org.w3c.dom.html.HTMLMapElement, org.apache.xerces.dom.ElementImpl

Field Summary

Modifier and TypeField and Description
private HTMLCollection
private static final long

Constructor Summary

AccessConstructor and Description
public
HTMLMapElementImpl(HTMLDocumentImpl
The owner HTML document
owner
,
String name)

Constructor requires owner document.

Method Summary

Modifier and TypeMethod and Description
public Node
cloneNode(boolean
If true, recursively clone the subtree under the specified node; if false, clone only the node itself (and its attributes, if it is an Element).
deep
)

Overrides org.apache.xerces.dom.ElementImpl.cloneNode.

Implements org.w3c.dom.Node.cloneNode.

Explicit implementation of cloneNode() to ensure that cache used for getAreas() gets cleared.
public HTMLCollection
getAreas()

Implements org.w3c.dom.html.HTMLMapElement.getAreas.

The list of areas defined for the image map.
public String
getName()

Implements org.w3c.dom.html.HTMLMapElement.getName.

Names the map (for use with usemap ).
public void
Inherited from org.apache.html.dom.HTMLElementImpl:
capitalizegetAttributegetAttributeNodegetAttributeNodeNSgetAttributeNSgetBinarygetCapitalizedgetClassNamegetDirgetElementsByTagNamegetElementsByTagNameNSgetFormgetIdgetIntegergetLanggetTitlesetAttributesetClassNamesetDirsetIdsetLangsetTitle

Field Detail

_areasback to summary
private HTMLCollection _areas
serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.html.dom.HTMLElementImpl.serialVersionUID.

Constructor Detail

HTMLMapElementImplback to summary
public HTMLMapElementImpl(HTMLDocumentImpl owner, String name)

Constructor requires owner document.

Parameters
owner:HTMLDocumentImpl

The owner HTML document

Method Detail

cloneNodeback to summary
public Node cloneNode(boolean deep)

Overrides org.apache.xerces.dom.ElementImpl.cloneNode.

Implements org.w3c.dom.Node.cloneNode.

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

Parameters
deep:boolean

Doc from org.w3c.dom.Node.cloneNode.

If true, recursively clone the subtree under the specified node; if false, clone only the node itself (and its attributes, if it is an Element).

Returns:Node

Doc from org.w3c.dom.Node.cloneNode.

The duplicate node.

getAreasback to summary
public HTMLCollection getAreas()

Implements org.w3c.dom.html.HTMLMapElement.getAreas.

Doc from org.w3c.dom.html.HTMLMapElement.getAreas.

The list of areas defined for the image map.

getNameback to summary
public String getName()

Implements org.w3c.dom.html.HTMLMapElement.getName.

Doc from org.w3c.dom.html.HTMLMapElement.getName.

Names the map (for use with usemap ). See the name attribute definition in HTML 4.0.

setNameback to summary
public void setName(String name)

Implements org.w3c.dom.html.HTMLMapElement.setName.