Skip Headers

Oracle® XML API Reference 10g Release 1 (10.1) Part No. B10789-01 |
| Contents

## DocumentRange Interface

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.

### DocumentRange

Constructs the factory.

Syntax

    DocumentRange();

Returns

`(DocumentRange)` new factory object

### createRange

Create new range object.

Syntax

    Range< Node>* createRange(
       DocumentRef< Node>& doc);

Parameter | Description
--- | ---
    doc
| reference to document node

Returns

`(Range*)` Pointer to new range

### destroyRange

Destroys range object.

Syntax

    void destroyRange(
       Range< Node>* range)
    throw (DOMException);

Parameter | Description
--- | ---
    range
| range

### ~DocumentRange

Default destructor.

Syntax

    ~DocumentRange();