Code example for NamedNodeMap

Methods: getLength

0
    protected Node wrap(Node node) {
        return adapterFactory.proxyNode(parent, node);
    } 
 
    public int getLength() { 
        return nodes.getLength();
    } 
 
    public Node item(int index) {
        return wrap(nodes.item(index));
    } 
 
    public Node getNamedItem(String name) {
        return wrap(nodes.getNamedItem(name));
    } 
 
    public Node removeNamedItem(String name) throws DOMException {
        throw new UnsupportedOperationException();
    } 
 
    public Node setNamedItem(Node arg) throws DOMException {