2
* This is a simple mechanism to bind Inkscape to Java, and thence
3
* to all of the nice things that can be layered upon that.
8
* Copyright (C) 2007 Bob Jamison
10
* This library is free software; you can redistribute it and/or
11
* modify it under the terms of the GNU Lesser General Public
12
* License as published by the Free Software Foundation; either
13
* version 2.1 of the License, or (at your option) any later version.
15
* This library is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
* Lesser General Public License for more details.
20
* You should have received a copy of the GNU Lesser General Public
21
* License along with this library; if not, write to the Free Software
22
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
package org.inkscape.dom;
31
public class NamedNodeMapImpl
33
implements org.w3c.dom.NamedNodeMap
39
* The number of nodes in this map.
41
public int getLength()
47
* Retrieves a node specified by name.
49
public Node getNamedItem(String name)
55
* Retrieves a node specified by local name and namespace URI.
57
public Node getNamedItemNS(String namespaceURI, String localName)
63
* Returns the indexth item in the map.
65
public Node item(int index)
71
* Removes a node specified by name.
73
public Node removeNamedItem(String name)
79
* Removes a node specified by local name and namespace URI.
81
public Node removeNamedItemNS(String namespaceURI, String localName)
87
* Adds a node using its nodeName attribute.
89
public Node setNamedItem(Node arg)
95
* Adds a node using its namespaceURI and localName.
97
public Node setNamedItemNS(Node arg)
104
public NamedNodeMapImpl()