|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS ��NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CXsltExtension { public: CXsltExtension(const XGlobalObject &pGlobalObject); ~CXsltExtension(); public: void Register( const CString &strPropertyName, const XObject &pXmlObject, const XObject &pDomObject, const Xslt::XXsltImplementation &pXsltImplementation); XObject GetXsltObject(); };
The XSLT extension package for the ECMAScript interpreter.
This class implements XSLT extensions for ECMAScript interpreter as specified in Unicorn ECMAScript Interpreter Reference Manual. XSLT Extensions Version 2.0.
Every object of this class must be associated with
an ECMAScript interpreter (an object of class
EcmaScript::CInterpreter
).
When an XSLT extension package is constructed,
the global object of the associated ECMAScript interpreter
must be specified
as an argument of the constructor. Once the
CXsltExtension
object is constructed,
its member function
Register
must be called in order to create
the initial set of XSLT extension objects in the object
space of the associated ECMAScript interpreter.
EcmaScript::CObject, EcmaScript::CGlobalObject, Xslt::CXsltImplementation
Constructor/Destructor Summary | |
CXsltExtension
(const XGlobalObject &pGlobalObject);
����������Constructs the XSLT extension package. |
|
~CXsltExtension
();
����������Destroys the XSLT extension package. |
Function Summary | |
void
|
Register
(const CString &strPropertyName, const XObject &pXmlObject, const XObject &pDomObject, const Xslt::XXsltImplementation &pXsltImplementation);
����������Registers this XSLT extension package with the associated ECMAScript interpreter. |
XObject
|
GetXsltObject
();
����������Returns the XSLT extension root object. |
Constructor/Destructor Detail |
CXsltExtension(const XGlobalObject &pGlobalObject);
Constructs the XSLT extension package.
pGlobalObject
- the ECMAScript global object.
The ECMAScript interpreter which owns the specified global object
will be associated with this XSLT extension package.~CXsltExtension();
Destroys the XSLT extension package.
Function Detail |
void Register( const CString &strPropertyName, const XObject &pXmlObject, const XObject &pDomObject, const Xslt::XXsltImplementation &pXsltImplementation);
Registers this XSLT extension package with the associated ECMAScript interpreter.
This function creates the initial set of XSLT extension objects in the object space of the ECMAScript interpreter associated with this XSLT extension package.
The XML extension
package (see
EcmaScriptXml::CXmlExtension
),
as well as the DOM extension
package (see
EcmaScriptDom::CDomExtension
),
must be constructed and registered prior to
the registration of this XSLT extension package.
The following information is required for the package registration:
"XSLT"
;
however, an application programmer may choose another name,
if necessary.XML
property of the ECMAScript
global object, unless another property name was supplied
during the registration of XML extension package via
EcmaScriptXml::CXmlExtension::Register
.DOM
property of the ECMAScript
global object, unless another property name was supplied
during the registration of DOM extension package via
EcmaScriptDom::CDomExtension::Register
.strPropertyName
- a string containing the name of
the global object property to be bound to
the XSLT extension root objectpXmlObject
- the XML extension root objectpDomObject
- the DOM extension root objectpXsltImplementation
- the XSLT implementationXObject GetXsltObject();
Returns the XSLT extension root object.
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS ��NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |