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 org.apache.batik.dom.AbstractElement.NamedNodeHashMap |
checkNode, get, getLength, getNamedItem, getNamedItemNS, hashCode, item, put, rehash, remove, removeNamedItem, setNamedItem, setNamedItemNS |
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 ns,
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.
removeNamedItemNS
public Node removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
throws DOMException
- DOM: Implements
NamedNodeMap.removeNamedItemNS(String,String)
.
- Overrides:
removeNamedItemNS
in class AbstractElement.NamedNodeHashMap
- Following copied from interface:
org.w3c.dom.NamedNodeMap
- Parameters:
namespaceURIThe
- namespace URI of the node to remove.localNameThe
- local name of the node to remove.- Returns:
- The node removed from this map if a node with such a local
name and namespace URI exists.
- Throws:
DOMException
- NOT_FOUND_ERR: Raised if there is no node with the specified
namespaceURI
and localName
in this map.
NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
Copyright © 2001 Apache Software Foundation. All Rights Reserved.