org.apache.xerces.dom
Class DOMStringListImpl

java.lang.Object
  extended by org.apache.xerces.dom.DOMStringListImpl
All Implemented Interfaces:
DOMStringList

public class DOMStringListImpl
extends Object
implements DOMStringList

DOM Level 3 This class implements the DOM Level 3 Core interface DOMStringList.

Author:
Neil Delima, IBM

Constructor Summary
DOMStringListImpl()
          Construct an empty list of DOMStringListImpl
DOMStringListImpl(ArrayList params)
          Construct a DOMStringListImpl from an ArrayList
DOMStringListImpl(Vector params)
          Construct a DOMStringListImpl from a Vector
 
Method Summary
 void add(String param)
          DOM Internal: Add a DOMString to the list.
 boolean contains(String param)
           
 int getLength()
           
 String item(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMStringListImpl

public DOMStringListImpl()
Construct an empty list of DOMStringListImpl


DOMStringListImpl

public DOMStringListImpl(ArrayList params)
Construct a DOMStringListImpl from an ArrayList


DOMStringListImpl

public DOMStringListImpl(Vector params)
Construct a DOMStringListImpl from a Vector

Method Detail

item

public String item(int index)
Specified by:
item in interface DOMStringList
See Also:
DOMStringList.item(int)

getLength

public int getLength()
Specified by:
getLength in interface DOMStringList
See Also:
DOMStringList.getLength()

contains

public boolean contains(String param)
Specified by:
contains in interface DOMStringList
See Also:
DOMStringList.contains(String)

add

public void add(String param)
DOM Internal: Add a DOMString to the list.

Parameters:
param - A string to add to the list


Copyright © 2011. All Rights Reserved.