Xerces-C++: DOMImplementationList Class Reference (original) (raw)
The [DOMImplementationList](classDOMImplementationList.html "The DOMImplementationList interface provides the abstraction of an ordered collection of DOM implemen...") interface provides the abstraction of an ordered collection of DOM implementations, without defining or constraining how this collection is implemented. More...
#include <[xercesc/dom/DOMImplementationList.hpp](DOMImplementationList%5F8hpp%5Fsource.html)>
| Public Member Functions | |
|---|---|
| Destructor | |
| virtual | ~DOMImplementationList () |
| Destructor. | |
| Functions introduced in DOM Level 3 | |
| virtual DOMImplementation * | item (XMLSize_t index) const =0 |
| Returns the index item in the collection. | |
| virtual XMLSize_t | getLength () const =0 |
| Returns the number of DOMImplementation in the list. | |
| Non-standard Extension | |
| 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 |
|---|
| Hidden constructors |
The [DOMImplementationList](classDOMImplementationList.html "The DOMImplementationList interface provides the abstraction of an ordered collection of DOM implemen...") interface provides the abstraction of an ordered collection of DOM implementations, without defining or constraining how this collection is implemented.
The items in the [DOMImplementationList](classDOMImplementationList.html "The DOMImplementationList interface provides the abstraction of an ordered collection of DOM implemen...") are accessible via an integral index, starting from 0.
| DOMImplementationList::DOMImplementationList ( ) | protected |
|---|
◆ ~DOMImplementationList()
| virtual DOMImplementationList::~DOMImplementationList ( ) | virtual |
|---|
Destructor.
◆ getLength()
| virtual XMLSize_t DOMImplementationList::getLength ( ) const | pure virtual |
|---|
Returns the number of DOMImplementation in the list.
The range of valid child node indices is 0 to length-1 inclusive.
Since
DOM Level 3
◆ item()
Returns the index item in the collection.
If index is greater than or equal to the number of DOMImplementation in the list, this returns null.
Parameters
| index | Index into the collection. |
|---|
Returns
The DOMImplementation at the indexth position in the [DOMImplementationList](classDOMImplementationList.html "The DOMImplementationList interface provides the abstraction of an ordered collection of DOM implemen..."), or null if that is not a valid index.
Since
DOM Level 3
◆ release()
| virtual void DOMImplementationList::release ( ) | pure virtual |
|---|
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.
The documentation for this class was generated from the following file: