Skip Headers

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

## CommentRef Interface

Table 15-5 summarizes the methods of available through `CommentRef` interface.

Table 15-5 Summary of CommentRef Methods; Dom Package

Function | Summary
--- | ---
CommentRef | Constructor.
~CommentRef | Public default destructor.

### CommentRef

Class constructor.

Syntax | Description
--- | ---
    CommentRef(
       const NodeRef< Node>& node_ref,
       Node* nptr);
| Used to create references to a given comment node after a call to createComment.
    CommentRef(
       const CommentRef< Node>& nref);
| Copy constructor.

Parameter | Description
--- | ---
    node_ref
| reference to provide the context
    nptr
| referenced node

Returns

`(CommentRef)` `Node` reference object

### ~CommentRef

This is the default destructor.

Syntax

    ~CommentRef();