org.apache.batik.dom.svg
Class SVGOMElement.SVGNamedNodeHashMap
java.lang.Object
|
+--org.apache.batik.dom.AbstractElement.NamedNodeHashMap
|
+--org.apache.batik.dom.svg.SVGOMElement.SVGNamedNodeHashMap
- All Implemented Interfaces:
- NamedNodeMap, java.io.Serializable
- Enclosing class:
- SVGOMElement
- protected class SVGOMElement.SVGNamedNodeHashMap
- extends AbstractElement.NamedNodeHashMap
An implementation of the NamedNodeMap
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SVGOMElement.SVGNamedNodeHashMap
public SVGOMElement.SVGNamedNodeHashMap()
- Creates a new SVGNamedNodeHashMap object.
setNamedItem
public Node setNamedItem(java.lang.String name,
Node arg)
throws DOMException
- Adds a node to the map.
- Overrides:
setNamedItem
in class AbstractElement.NamedNodeHashMap
setAttribute
public void setAttribute(java.lang.String nsURI,
java.lang.String name,
java.lang.String value)
- Adds an unspecified attribute to the map.
removeNamedItem
public Node removeNamedItem(java.lang.String name)
throws DOMException
- DOM: Implements
NamedNodeMap.removeNamedItem(String)
.
- Overrides:
removeNamedItem
in class AbstractElement.NamedNodeHashMap
- Following copied from interface:
org.w3c.dom.NamedNodeMap
- Parameters:
nameThe
- nodeName
of the node to remove.- Returns:
- The node removed from this map if a node with such a name
exists.
- Throws:
DOMException
- NOT_FOUND_ERR: Raised if there is no node named name
in
this map.
NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
Copyright © 2000 Apache Software Foundation. All Rights Reserved.