CommentRef Interface

Table 2-5 summarizes the methods available through CommentRef interface.

Table 2-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();