|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.dom.DOMStringListImpl
public class DOMStringListImpl
DOM Level 3 This class implements the DOM Level 3 Core interface DOMStringList.
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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DOMStringListImpl()
public DOMStringListImpl(java.util.Vector params)
Method Detail |
---|
public java.lang.String item(int index)
DOMStringList
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
.
item
in interface DOMStringList
index
- Index into the collection.
DOMString
at the index
th
position in the DOMStringList
, or null
if
that is not a valid index.DOMStringList.item(int)
public int getLength()
DOMStringList
DOMString
s in the list. The range of valid
child node indices is 0 to length-1
inclusive.
getLength
in interface DOMStringList
DOMStringList.getLength()
public boolean contains(java.lang.String param)
DOMStringList
DOMStringList
.
contains
in interface DOMStringList
param
- The string to look for.
true
if the string has been found,
false
otherwise.DOMStringList.contains(String)
public void add(java.lang.String param)
DOMString
to the list.
param
- A string to add to the list
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |