diff options
author | pdanner <pdanner@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2007-09-05 10:58:49 +0000 |
---|---|---|
committer | pdanner <pdanner@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2007-09-05 10:58:49 +0000 |
commit | 6e7f68cf814044e874464bd44fa4e5491d955f52 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /common/src/main/java/at/gv/egovernment/moa/util/NodeListAdapter.java | |
parent | 2006356de97eef6d8ce1f4e03ace9a42079be8d1 (diff) | |
download | moa-id-spss-6e7f68cf814044e874464bd44fa4e5491d955f52.tar.gz moa-id-spss-6e7f68cf814044e874464bd44fa4e5491d955f52.tar.bz2 moa-id-spss-6e7f68cf814044e874464bd44fa4e5491d955f52.zip |
MOA-SP/SS Release 1.4.1tags/Build-SPSS-1_4_1
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/tags/Build-SPSS-1_4_1@999 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'common/src/main/java/at/gv/egovernment/moa/util/NodeListAdapter.java')
-rw-r--r-- | common/src/main/java/at/gv/egovernment/moa/util/NodeListAdapter.java | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/common/src/main/java/at/gv/egovernment/moa/util/NodeListAdapter.java b/common/src/main/java/at/gv/egovernment/moa/util/NodeListAdapter.java deleted file mode 100644 index 7102cadca..000000000 --- a/common/src/main/java/at/gv/egovernment/moa/util/NodeListAdapter.java +++ /dev/null @@ -1,44 +0,0 @@ -package at.gv.egovernment.moa.util; - -import java.util.List; - -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; - -/** - * A <code>NodeList</code> implementation based on a <code>List</code>. - * - * @see java.util.List - * @see org.w3c.dom.NodeList - * - * @author Patrick Peck - * @version $Id$ - */ -public class NodeListAdapter implements NodeList { - /** The <code>List</code> to wrap. */ - private List nodeList; - - /** - * Create a new <code>NodeListAdapter</code>. - * - * @param nodeList The <code>List</code> containing the nodes. - */ - public NodeListAdapter(List nodeList) { - this.nodeList = nodeList; - } - - /** - * @see org.w3c.dom.NodeList#item(int) - */ - public Node item(int index) { - return (Node) nodeList.get(index); - } - - /** - * @see org.w3c.dom.NodeList#getLength() - */ - public int getLength() { - return nodeList.size(); - } - -} |