org.apache.xerces.dom3.bootstrap

Class DOMImplementationListImpl

Implemented Interfaces:
DOMImplementationList

public class DOMImplementationListImpl
extends java.lang.Object
implements DOMImplementationList

This class holds a list of DOMImplementations.
Since:
DOM Level 3

Constructor Summary

DOMImplementationListImpl()

Method Summary

void
add(DOMImplementation domImpl)
Add a DOMImplementation in the list.
int
getLength()
The number of DOMImplementations in the list.
DOMImplementation
item(int index)
Returns the indexth item in the collection.

Constructor Details

DOMImplementationListImpl

public DOMImplementationListImpl()

Method Details

add

public void add(DOMImplementation domImpl)
Add a DOMImplementation in the list.

getLength

public int getLength()
The number of DOMImplementations in the list. The range of valid child node indices is 0 to length-1 inclusive.
Specified by:
getLength in interface DOMImplementationList

item

public DOMImplementation item(int index)
Returns the indexth item in the collection. If index is greater than or equal to the number of DOMImplementations in the list, this returns null.
Specified by:
item in interface DOMImplementationList
Parameters:
index - Index into the collection.
Returns:
The DOMImplementation at the index th position in the DOMImplementationList, or null if that is not a valid index.

Copyright © 1999-2004 Apache XML Project. All Rights Reserved.