nodelistimpl.java
来自「数字图书馆的互操作接口」· Java 代码 · 共 45 行
JAVA
45 行
package dli2fe.xml;
/**
* Title: Digial Library Interoperable Interface Fudan Edition
* Description: This project contains all the classes required for DLI2FE interface. Developers use these classes to implement the wrapper and client side codes. The basic functions of DLI2FE is as follows:
* Search: Search a digital library source site.
* Metadata: Fetch metadata for a site.
* ResultAccess: Get results for a given query.
* DLI2FE uses Dublin Core as the basic attribute model, DAV/DASL as the general XML-based query language and CORBA as distributed object transportation mechanism.
* Copyright: Copyright (c) 2001
* Company: Fudan University
* @author Carl Tao
* @version 1.0
*/
import org.w3c.dom.*;
/**
* Not used by any class withing this package.
* For application usage only
*/
public class NodeListImpl extends java.util.Vector implements NodeList {
public NodeListImpl() {
}
public NodeListImpl(NodeList list0) {
int i;
for (i = 0; i < list0.getLength(); i++)
super.addElement(list0.item(i));
}
public Node item(int index) {
return (Node)elementAt(index);
}
public int getLength() {
return size();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?