|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CXmlObject: public CNativeObject { public: CXmlObject( CGlobalObject *pGlobalObject, const XReaderFactory &pReaderFactory, const XWriterFactory &pWriterFactory); ~CXmlObject(); public: void Create(); public: CString Class(); public: CGlobalObject *GetGlobalObject(); XObject GetAttributesPrototype(); XObject GetContentHandlerPrototype(); XObject GetDtdHandlerPrototype(); XObject GetEntityResolverPrototype(); XObject GetErrorHandlerPrototype(); XObject GetInputSourcePrototype(); XObject GetLocatorPrototype(); XObject GetNamespaceSupportPrototype(); XObject GetExceptionPrototype(); XObject GetNotSupportedExceptionPrototype(); XObject GetNotRecognizedExceptionPrototype(); XObject GetParseExceptionPrototype(); XObject GetStreamPrototype(); XObject GetProcessorPrototype(); XObject GetReaderPrototype(); XObject GetFilterPrototype(); XObject GetWriterPrototype(); };
The XML extension root object.
An object of this class is created when
the XML extension is registered using
CXmlExtension::Register
.
EcmaScript::CObject, EcmaScript::CGlobalObject, Sax::CXmlReaderFactory, XmlWriter::CXmlWriterFactory
Constructor/Destructor Summary | |
CXmlObject
(CGlobalObject *pGlobalObject, const XReaderFactory &pReaderFactory, const XWriterFactory &pWriterFactory);
����������Constructs the XML root object. |
|
~CXmlObject
();
����������Destroys the XML root object. |
Function Summary | |
void
|
Create
();
����������Finalizes the object initialization. |
CString
|
Class
();
����������Returns the value of the internal [[Class]]
property of this object. |
CGlobalObject�*
|
GetGlobalObject
();
����������Returns the ECMAScript global object associated with this object. |
XObject
|
GetAttributesPrototype
();
����������Returns the Attributes prototype object. |
XObject
|
GetContentHandlerPrototype
();
����������Returns the ContentHandler prototype object. |
XObject
|
GetDtdHandlerPrototype
();
����������Returns the DtdHandler prototype object. |
XObject
|
GetEntityResolverPrototype
();
����������Returns the EntityResolver prototype object. |
XObject
|
GetErrorHandlerPrototype
();
����������Returns the ErrorHandler prototype object. |
XObject
|
GetInputSourcePrototype
();
����������Returns the InputSource prototype object. |
XObject
|
GetLocatorPrototype
();
����������Returns the Locator prototype object. |
XObject
|
GetNamespaceSupportPrototype
();
����������Returns the NamespaceSupport prototype object. |
XObject
|
GetExceptionPrototype
();
����������Returns the Exception prototype object. |
XObject
|
GetNotSupportedExceptionPrototype
();
����������Returns the NotSupportedException prototype object. |
XObject
|
GetNotRecognizedExceptionPrototype
();
����������Returns the NotRecognizedException prototype object. |
XObject
|
GetParseExceptionPrototype
();
����������Returns the ParseException prototype object. |
XObject
|
GetStreamPrototype
();
����������Returns the Stream prototype object. |
XObject
|
GetProcessorPrototype
();
����������Returns the Processor prototype object. |
XObject
|
GetReaderPrototype
();
����������Returns the Reader prototype object. |
XObject
|
GetFilterPrototype
();
����������Returns the Filter prototype object. |
XObject
|
GetWriterPrototype
();
����������Returns the Writer prototype object. |
Constructor/Destructor Detail |
CXmlObject( CGlobalObject *pGlobalObject, const XReaderFactory &pReaderFactory, const XWriterFactory &pWriterFactory);
Constructs the XML root object.
The following information is required for the object construction:
XReaderFactory
used with the corresponding
argument of
Register
function is an
alias for the reference-counted pointer to
Sax::CXmlReaderFactory
.XWriterFactory
used with the corresponding
argument of
Register
function is an
alias for the reference-counted pointer to
XmlWriter::CXmlWriterFactory
.Note that, once the XML root object is constructed, the
member function
Create
must be called in
order to finalize the object initialization.
pGlobalObject
- the ECMAScript global objectpReaderFactory
- the XML reader factorypWriterFactory
- the XML writer factory~CXmlObject();
Destroys the XML root object.
Function Detail |
void Create();
Finalizes the object initialization.
This function is called from
CXmlExtension::Register
.
Application programmers normally do not use this function.
CString Class();
Returns the value of the internal
[[Class]]
property of this object.
This value is always
"XML"
.
[[Class]]
property of this objectCGlobalObject *GetGlobalObject();
Returns the ECMAScript global object associated with this object.
XObject GetAttributesPrototype();
Returns the Attributes prototype object.
The returned object is the initial value of
XML.Attributes.prototype
.
XObject GetContentHandlerPrototype();
Returns the ContentHandler prototype object.
The returned object is the initial value of
XML.ContentHandler.prototype
.
XObject GetDtdHandlerPrototype();
Returns the DtdHandler prototype object.
The returned object is the initial value of
XML.DtdHandler.prototype
.
XObject GetEntityResolverPrototype();
Returns the EntityResolver prototype object.
The returned object is the initial value of
XML.EntityResolver.prototype
.
XObject GetErrorHandlerPrototype();
Returns the ErrorHandler prototype object.
The returned object is the initial value of
XML.ErrorHandler.prototype
.
XObject GetInputSourcePrototype();
Returns the InputSource prototype object.
The returned object is the initial value of
XML.InputSource.prototype
.
XObject GetLocatorPrototype();
Returns the Locator prototype object.
The returned object is the initial value of
XML.Locator.prototype
.
XObject GetNamespaceSupportPrototype();
Returns the NamespaceSupport prototype object.
The returned object is the initial value of
XML.NamespaceSupport.prototype
.
XObject GetExceptionPrototype();
Returns the Exception prototype object.
The returned object is the initial value of
XML.Exception.prototype
.
XObject GetNotSupportedExceptionPrototype();
Returns the NotSupportedException prototype object.
The returned object is the initial value of
XML.NotSupportedException.prototype
.
XObject GetNotRecognizedExceptionPrototype();
Returns the NotRecognizedException prototype object.
The returned object is the initial value of
XML.NotRecognizedException.prototype
.
XObject GetParseExceptionPrototype();
Returns the ParseException prototype object.
The returned object is the initial value of
XML.ParseException.prototype
.
XObject GetStreamPrototype();
Returns the Stream prototype object.
The returned object is the initial value of
XML.Stream.prototype
.
XObject GetProcessorPrototype();
Returns the Processor prototype object.
The returned object is the initial value of
XML.Processor.prototype
.
XObject GetReaderPrototype();
Returns the Reader prototype object.
The returned object is the initial value of
XML.Reader.prototype
.
XObject GetFilterPrototype();
Returns the Filter prototype object.
The returned object is the initial value of
XML.Filter.prototype
.
XObject GetWriterPrototype();
Returns the Writer prototype object.
The returned object is the initial value of
XML.Writer.prototype
.
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |