|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 DOMStrings in the list. |
java.lang.String |
item(int index)
Returns the indexth 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)
DOMStringListindexth item in the collection. If
index is greater than or equal to the number of
DOMStrings in the list, this returns null.
item in interface DOMStringListindex - Index into the collection.
DOMString at the indexth
position in the DOMStringList, or null if
that is not a valid index.DOMStringList.item(int)public int getLength()
DOMStringListDOMStrings in the list. The range of valid
child node indices is 0 to length-1 inclusive.
getLength in interface DOMStringListDOMStringList.getLength()public boolean contains(java.lang.String param)
DOMStringListDOMStringList.
contains in interface DOMStringListparam - 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 | |||||||||