diff options
author | (no author) <(no author)@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2005-06-24 11:00:16 +0000 |
---|---|---|
committer | (no author) <(no author)@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2005-06-24 11:00:16 +0000 |
commit | c87e8ec82b5a85596bdab1adba86972cd88b96c5 (patch) | |
tree | e14cf111b5adc386a8f53c457623864825945111 /common/src/at/gv/egovernment/moa/util/NodeListAdapter.java | |
parent | 4914ffa0d889ed525229c0715686b26e30cc1343 (diff) | |
download | moa-id-spss-c87e8ec82b5a85596bdab1adba86972cd88b96c5.tar.gz moa-id-spss-c87e8ec82b5a85596bdab1adba86972cd88b96c5.tar.bz2 moa-id-spss-c87e8ec82b5a85596bdab1adba86972cd88b96c5.zip |
This commit was manufactured by cvs2svn to create tagtags/Build-SPSS-1_2_1
'Build-SPSS-1_2_1'.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/tags/Build-SPSS-1_2_1@371 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'common/src/at/gv/egovernment/moa/util/NodeListAdapter.java')
-rw-r--r-- | common/src/at/gv/egovernment/moa/util/NodeListAdapter.java | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/common/src/at/gv/egovernment/moa/util/NodeListAdapter.java b/common/src/at/gv/egovernment/moa/util/NodeListAdapter.java deleted file mode 100644 index 7102cadca..000000000 --- a/common/src/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(); - } - -} |