org.apache.xerces.dom

Class DOMImplementationListImpl

Implemented Interfaces:
org.w3c.dom.DOMImplementationList

public class DOMImplementationListImpl
extends java.lang.Object
implements org.w3c.dom.DOMImplementationList

This class implements the DOM Level 3 Core interface DOMImplementationList.
Author:
Neil Delima, IBM
Since:
DOM Level 3 Core

Constructor Summary

DOMImplementationListImpl()
Construct an empty list of DOMImplementations
DOMImplementationListImpl(Vector params)
Construct an empty list of DOMImplementations

Method Summary

int
getLength()
Returns the number of DOMImplementations in the list.
org.w3c.dom.DOMImplementation
item(int index)
Returns the indexth item in the collection.

Constructor Details

DOMImplementationListImpl

public DOMImplementationListImpl()
Construct an empty list of DOMImplementations

DOMImplementationListImpl

public DOMImplementationListImpl(Vector params)
Construct an empty list of DOMImplementations

Method Details

getLength

public int getLength()
Returns the number of DOMImplementations in the list.
Specified by:
getLength in interface org.w3c.dom.DOMImplementationList
Returns:
An integer indicating the number of DOMImplementations.

item

public org.w3c.dom.DOMImplementation item(int index)
Returns the indexth item in the collection.
Specified by:
item in interface org.w3c.dom.DOMImplementationList
Parameters:
index - The index of the DOMImplemetation from the list to return.

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.