Class DOMStringListImpl
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.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
Constructors Constructor Description DOMStringListImpl()Construct an empty list of DOMStringListImplDOMStringListImpl(ArrayList params)Construct a DOMStringListImpl from an ArrayListDOMStringListImpl(Vector params)Construct a DOMStringListImpl from a Vector
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(String param)DOM Internal: Add aDOMStringto the list.booleancontains(String param)intgetLength()Stringitem(int index)
-
-
-
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:
itemin interfaceDOMStringList- See Also:
DOMStringList.item(int)
-
getLength
public int getLength()
- Specified by:
getLengthin interfaceDOMStringList- See Also:
DOMStringList.getLength()
-
contains
public boolean contains(String param)
- Specified by:
containsin interfaceDOMStringList- See Also:
DOMStringList.contains(String)
-
add
public void add(String param)
DOM Internal: Add aDOMStringto the list.- Parameters:
param- A string to add to the list
-
-