Public Member Functions
Functions introduced in DOM Level 3
|virtual const XMLCh *||item (XMLSize_t index) const =0|
|Returns the |
|virtual XMLSize_t||getLength () const =0|
|Returns the number of strings in the list. |
|virtual bool||contains (const XMLCh *) const =0|
|Test if a string is part of this DOMStringList. |
|virtual void||release ()=0|
|Called to indicate that this list is no longer in use and that the implementation may relinquish any resources associated with it and its associated children. |
Protected Member Functions
DOMStringList interface provides the abstraction of an ordered collection of strings, without defining or constraining how this collection is implemented.
The items in the
DOMStringList are accessible via an integral index, starting from 0.
|virtual bool xercesc::DOMStringList::contains||(||const XMLCh *||)|| const
Test if a string is part of this DOMStringList.
trueif the string has been found,
|virtual XMLSize_t xercesc::DOMStringList::getLength||(||)|| const
Returns the number of strings in the list.
The range of valid child node indices is 0 to
|virtual const XMLCh* xercesc::DOMStringList::item||(||XMLSize_t||index||)|| const
index item in the collection.
index is greater than or equal to the number of strings in the list, this returns
|index||Index into the collection.|
indexth position in the
nullif that is not a valid index.
|virtual void xercesc::DOMStringList::release||(||)||
Called to indicate that this list is no longer in use and that the implementation may relinquish any resources associated with it and its associated children.
Access to a released object will lead to unexpected result.