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. |
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 |
(CommentRef) Node reference object
This is the default destructor.
~CommentRef();