Table 15-9 summarizes the methods of available through DocumentFragmentRef interface.
Table 15-9 Summary of DocumentFragmentRef Methods; Dom Package
| Function | Summary |
|---|---|
| DocumentFragmentRef
|
Constructor. |
| ~DocumentFragmentRef
|
Public default destructor. |
Class constructor.
| Syntax | Description |
|---|---|
DocumentFragmentRef( const NodeRef< Node>& node_ref, Node* nptr); |
Used to create references to a given fragment node after a call to createDocumentFragment.
|
DocumentFragmentRef( const DocumentFragmentRef< Node>& nref); |
Copy constructor. |
| Parameter | Description |
|---|---|
node_ref |
reference to provide the context |
nptr |
referenced node |
(DocumentFragmentRef) Node reference object
This is the default destructor.
~DocumentFragmentRef() {}