|
Unicorn XML Toolkit Version 1.50.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CDomBase: public CInterface { public: CDomBase(CToolkitBase *pToolkitBase); ~CDomBase(); public: Dom::XDocument CreateDocument(const WCHAR *pszClass=_W("")); XDomReader CreateReader(Dom::INode *pNode=NULL); XDomWriter CreateWriter(Dom::INode *pNode=NULL); }; typedef XInterface<CDomBase> XDomBase;
Encapsulates toolkit functionality related to DOM/XDM documents, readers and writers.
CToolkitBase, CDomReader, CDomWriter, Dom::INode
Constructor/Destructor Summary | |
CDomBase
(CToolkitBase *pToolkitBase);
����������Constructs the toolkit DOM base. |
|
~CDomBase
();
����������Destroys the toolkit DOM base. |
Function Summary | |
Dom::XDocument
|
CreateDocument
(const WCHAR *pszClass=_W(""));
����������Creates a new DOM/XDM document. |
XDomReader
|
CreateReader
(Dom::INode *pNode=NULL);
����������Creates a new DOM reader. |
XDomWriter
|
CreateWriter
(Dom::INode *pNode=NULL);
����������Creates a new DOM writer. |
Constructor/Destructor Detail |
CDomBase(CToolkitBase *pToolkitBase);
Constructs the toolkit DOM base.
pToolkitBase
- the master toolkit base~CDomBase();
Destroys the toolkit DOM base.
Function Detail |
Dom::XDocument CreateDocument(const WCHAR *pszClass=_W(""));
Creates a new DOM/XDM document.
The document class must be specified to indicate the document
model. Supported values are
"DOM"
for DOM and
"XPath"
for XDM. The default (empty) value
indicates DOM.
The newly created document has initially empty content.
pszClass
- the class specifying the document modelXDomReader CreateReader(Dom::INode *pNode=NULL);
Creates a new DOM reader.
pNode
- the optional root of the sub-tree in
the DOM document serving as the source for this DOM reader.
If this parameter is set to
NULL
, the node must
be specified using the
SetNode
method
before starting the DOM reader.XDomWriter CreateWriter(Dom::INode *pNode=NULL);
Creates a new DOM writer.
pNode
- the node serving as the parent for
a sub-tree, which the DOM writer should build.
If this parameter is set to
NULL
,
the node must be specified using the
SetNode
method before starting the source stream of SAX content events.
|
Unicorn XML Toolkit Version 1.50.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |