org.zkoss.idom.impl
Class FacadeNodeList

java.lang.Object
  extended by org.zkoss.idom.impl.FacadeNodeList
All Implemented Interfaces:
org.w3c.dom.NodeList

public class FacadeNodeList
extends java.lang.Object
implements org.w3c.dom.NodeList

The NodeList which is a facade of another java List.

Author:
tomyeh

Field Summary
protected  java.util.List _list
          The java List to facade.
 
Constructor Summary
FacadeNodeList(java.util.List list)
          Constructor.
 
Method Summary
 int getLength()
           
 org.w3c.dom.Node item(int j)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_list

protected java.util.List _list
The java List to facade.

Constructor Detail

FacadeNodeList

public FacadeNodeList(java.util.List list)
Constructor.

Parameters:
list - the list to facade; never null
Method Detail

getLength

public final int getLength()
Specified by:
getLength in interface org.w3c.dom.NodeList

item

public final org.w3c.dom.Node item(int j)
Specified by:
item in interface org.w3c.dom.NodeList


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo