Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xerces.dom
Class DOMStringListImpl

    java.lang.Object
      |
      +--org.apache.xerces.dom.DOMStringListImpl

All Implemented Interfaces:
  org.apache.xerces.dom3.DOMStringList

public class DOMStringListImpl
extends java.lang.Object
implements org.apache.xerces.dom3.DOMStringList

DOM Level 3 Experimental This class implemets the DOM Levl 3 Core interface DOMStringList.

Author:
  nddelima

Constructor Summary
`DOMStringListImpl()` 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)` Test if a string is part of this `DOMStringList`.
`int` | `getLength()` The number of `DOMString`s in the list.
`java.lang.String` | `item(int index)` Returns the `index`th item in the collection.

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(java.util.Vector params)

  Construct an empty list of DOMStringListImpl

Method Detail

### item

    public java.lang.String item(int index)

  Description copied from interface: `org.apache.xerces.dom3.DOMStringList`
  Returns the `index`th item in the collection. If `index` is greater than or equal to the number of `DOMString`s in the list, this returns `null`.
  Specified by:
    `item` in interface `org.apache.xerces.dom3.DOMStringList`
  See Also:
    `DOMStringList.item(int)`

### getLength

    public int getLength()

  Description copied from interface: `org.apache.xerces.dom3.DOMStringList`
  The number of `DOMString`s in the list. The range of valid child node indices is 0 to `length-1` inclusive.
  Specified by:
    `getLength` in interface `org.apache.xerces.dom3.DOMStringList`
  See Also:
    `DOMStringList.getLength()`

### contains

    public boolean contains(java.lang.String param)

  Description copied from interface: `org.apache.xerces.dom3.DOMStringList`
  Test if a string is part of this `DOMStringList`.
  Specified by:
    `contains` in interface `org.apache.xerces.dom3.DOMStringList`
  See Also:
    `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

Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999-2004 Apache XML Project. All Rights Reserved.