KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > dom4j > dom > EmptyNodeList


1 /*
2  * EmptyNodeList.java
3  *
4  * Created on 1 juli 2002, 23:44
5  */

6
7 package org.dom4j.dom;
8
9 import org.w3c.dom.Node JavaDoc;
10 import org.w3c.dom.NodeList JavaDoc;
11
12 /**
13  *
14  * @author Maarten
15  */

16 public class EmptyNodeList implements NodeList JavaDoc {
17     
18     /** Creates a new instance of EmptyNodeList */
19     public EmptyNodeList() {
20         super();
21     }
22     
23     public int getLength() {
24         return 0;
25     }
26     
27     public Node JavaDoc item(int param) {
28         return null;
29     }
30     
31 }
32
Popular Tags