Class DOMImplementationListImpl

  • All Implemented Interfaces:
    DOMImplementationList

    public class DOMImplementationListImpl
    extends Object
    implements DOMImplementationList

    This class implements the DOM Level 3 Core interface DOMImplementationList.

    Since:
    DOM Level 3 Core
    Author:
    Neil Delima, IBM
    • Constructor Detail

      • DOMImplementationListImpl

        public DOMImplementationListImpl()
        Construct an empty list of DOMImplementations
      • DOMImplementationListImpl

        public DOMImplementationListImpl​(ArrayList params)
        Construct a list of DOMImplementations from an ArrayList
      • DOMImplementationListImpl

        public DOMImplementationListImpl​(Vector params)
        Construct a list of DOMImplementations from a Vector
    • Method Detail

      • item

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

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