|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.xerces.dom.DOMStringListImpl
DOM Level 3 Experimental This class implemets the DOM Levl 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 |
|---|
clone, equals, finalize, 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)
org.w3c.dom.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 org.w3c.dom.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()
org.w3c.dom.DOMStringListDOMStrings in the list. The range of valid
child node indices is 0 to length-1 inclusive.
getLength in interface org.w3c.dom.DOMStringListDOMStringList.getLength()public boolean contains(java.lang.String param)
org.w3c.dom.DOMStringListDOMStringList.
contains in interface org.w3c.dom.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.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||