コード例 #1
0
        public static void Init(IScriptable scope, bool zealed)
        {
            XMLLib impl = new XMLLib(scope);

            impl.SetDefaultSettings();
            impl.BindToScope(scope);

            impl.xmlPrototype = XML.CreateEmptyXml(impl);
            impl.xmlPrototype.ExportAsJSClass(zealed);

            impl.xmlListPrototype = new XMLList(impl);
            impl.xmlListPrototype.ExportAsJSClass(zealed);


            impl.qnamePrototype = new QName(impl);
            impl.qnamePrototype.ExportAsJSClass(zealed);

            impl.namespacePrototype = new Namespace(impl);
            impl.namespacePrototype.ExportAsJSClass(zealed);
        }