org.apache.xml.serializer.dom3
Class DOMStringListImpl

java.lang.Object
  extended by org.apache.xml.serializer.dom3.DOMStringListImpl
All Implemented Interfaces:
org.w3c.dom.DOMStringList

final class DOMStringListImpl
extends java.lang.Object
implements org.w3c.dom.DOMStringList

This class implemets the DOM Level 3 Core interface DOMStringList.


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

Field Detail

fStrings

private java.util.Vector fStrings
Constructor Detail

DOMStringListImpl

DOMStringListImpl()
Construct an empty list of DOMStringListImpl


DOMStringListImpl

DOMStringListImpl(java.util.Vector params)
Construct an empty list of DOMStringListImpl


DOMStringListImpl

DOMStringListImpl(java.lang.String[] params)
Construct an empty list of DOMStringListImpl

Method Detail

item

public java.lang.String item(int index)
Specified by:
item in interface org.w3c.dom.DOMStringList
See Also:
org.apache.xerces.dom3.DOMStringList#item(int)

getLength

public int getLength()
Specified by:
getLength in interface org.w3c.dom.DOMStringList
See Also:
org.apache.xerces.dom3.DOMStringList#getLength()

contains

public boolean contains(java.lang.String param)
Specified by:
contains in interface org.w3c.dom.DOMStringList
See Also:
org.apache.xerces.dom3.DOMStringList#contains(String)

add

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

Parameters:
domString - A string to add to the list