Table 15-10 summarizes the methods of available through DocumentRange interface.
Table 15-10 Summary of DocumentRange Methods; Dom Package
| Function | Summary |
|---|---|
| DocumentRange
|
Constructor. |
| createRange
|
Create new range object. |
| destroyRange
|
Destroys Range object. |
| ~DocumentRange
|
Default destructor. |
Constructs the factory.
DocumentRange();
(DocumentRange) new factory object
Create new range object.
Range< Node>* createRange( DocumentRef< Node>& doc);
| Parameter | Description |
|---|---|
doc |
reference to document node |
(Range*) Pointer to new range
Destroys range object.
void destroyRange( Range< Node>* range) throw (DOMException);
| Parameter | Description |
|---|---|
range |
range |
Default destructor.
~DocumentRange();