sk.baka.ikslibs
Class NodeListAdapter

java.lang.Object
  extended by sk.baka.ikslibs.NodeListAdapter
All Implemented Interfaces:
NodeList

public final class NodeListAdapter
extends Object
implements NodeList

Adapts the NamedNodeMap interface to the NodeList interface.

Author:
Martin Vysny

Field Summary
 NamedNodeMap map
          Underlying map.
 
Constructor Summary
NodeListAdapter(NamedNodeMap map)
          Constructor.
 
Method Summary
 int getLength()
           
 Node item(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

public final NamedNodeMap map
Underlying map.

Constructor Detail

NodeListAdapter

public NodeListAdapter(NamedNodeMap map)
Constructor.

Parameters:
map - adapt to this map. May be null.
Method Detail

getLength

public int getLength()
Specified by:
getLength in interface NodeList

item

public Node item(int index)
Specified by:
item in interface NodeList


Copyright © 2006 Martin Vysny - baka. All Rights Reserved.