Package org.apache.xerces.dom
Class DOMStringListImpl
- java.lang.Object
-
- org.apache.xerces.dom.DOMStringListImpl
-
- All Implemented Interfaces:
org.w3c.dom.DOMStringList
public class DOMStringListImpl extends java.lang.Object implements org.w3c.dom.DOMStringListDOM Level 3 This class implements the DOM Level 3 Core interface DOMStringList.INTERNAL:
- Usage of this class is not supported. It may be altered or removed at any time.
- Author:
- Neil Delima, IBM
-
-
Constructor Summary
Constructors Constructor Description DOMStringListImpl()Construct an empty list of DOMStringListImplDOMStringListImpl(java.util.ArrayList params)Construct a DOMStringListImpl from an ArrayListDOMStringListImpl(java.util.Vector params)Construct a DOMStringListImpl from a Vector
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.String param)DOM Internal: Add aDOMStringto the list.booleancontains(java.lang.String param)intgetLength()java.lang.Stringitem(int index)
-
-
-
Constructor Detail
-
DOMStringListImpl
public DOMStringListImpl()
Construct an empty list of DOMStringListImpl
-
DOMStringListImpl
public DOMStringListImpl(java.util.ArrayList params)
Construct a DOMStringListImpl from an ArrayList
-
DOMStringListImpl
public DOMStringListImpl(java.util.Vector params)
Construct a DOMStringListImpl from a Vector
-
-
Method Detail
-
item
public java.lang.String item(int index)
- Specified by:
itemin interfaceorg.w3c.dom.DOMStringList- See Also:
DOMStringList.item(int)
-
getLength
public int getLength()
- Specified by:
getLengthin interfaceorg.w3c.dom.DOMStringList- See Also:
DOMStringList.getLength()
-
contains
public boolean contains(java.lang.String param)
- Specified by:
containsin interfaceorg.w3c.dom.DOMStringList- See Also:
DOMStringList.contains(String)
-
add
public void add(java.lang.String param)
DOM Internal: Add aDOMStringto the list.- Parameters:
param- A string to add to the list
-
-