|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.dom.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.ArrayList params)
Construct a DOMStringListImpl from an ArrayList |
|
DOMStringListImpl(java.util.Vector params)
Construct a DOMStringListImpl from a Vector |
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 |
public DOMStringListImpl()
public DOMStringListImpl(java.util.ArrayList params)
public DOMStringListImpl(java.util.Vector params)
Method Detail |
public java.lang.String item(int index)
org.w3c.dom.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 org.w3c.dom.DOMStringList
DOMStringList.item(int)
public int getLength()
org.w3c.dom.DOMStringList
DOMString
s in the list. The range of valid
child node indices is 0 to length-1
inclusive.getLength
in interface org.w3c.dom.DOMStringList
DOMStringList.getLength()
public boolean contains(java.lang.String param)
org.w3c.dom.DOMStringList
DOMStringList
.contains
in interface org.w3c.dom.DOMStringList
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: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |