Debian Codegraph @

mingw-w64-headers/include/windows.data.xml.dom.idl

raw
1 /*
2 * Copyright (C) 2024 Biswapriyo Nath
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19 #ifdef __WIDL__
20 #pragma winrt ns_prefix
21 #endif
22
23 import "inspectable.idl";
24 import "asyncinfo.idl";
25 import "eventtoken.idl";
26 import "windowscontracts.idl";
27 import "windows.foundation.idl";
28 import "windows.storage.idl";
29 import "windows.storage.streams.idl";
30
31 namespace Windows.Data.Xml.Dom {
32 typedef enum NodeType NodeType;
33
34 interface IDtdEntity;
35 interface IDtdNotation;
36 interface IXmlAttribute;
37 interface IXmlCDataSection;
38 interface IXmlCharacterData;
39 interface IXmlComment;
40 interface IXmlDocument;
41 interface IXmlDocumentFragment;
42 interface IXmlDocumentIO;
43 interface IXmlDocumentIO2;
44 interface IXmlDocumentStatics;
45 interface IXmlDocumentType;
46 interface IXmlDomImplementation;
47 interface IXmlElement;
48 interface IXmlEntityReference;
49 interface IXmlLoadSettings;
50 interface IXmlNamedNodeMap;
51 interface IXmlNode;
52 interface IXmlNodeList;
53 interface IXmlNodeSelector;
54 interface IXmlNodeSerializer;
55 interface IXmlProcessingInstruction;
56 interface IXmlText;
57
58 runtimeclass DtdEntity;
59 runtimeclass DtdNotation;
60 runtimeclass XmlAttribute;
61 runtimeclass XmlCDataSection;
62 runtimeclass XmlComment;
63 runtimeclass XmlDocument;
64 runtimeclass XmlDocumentFragment;
65 runtimeclass XmlDocumentType;
66 runtimeclass XmlDomImplementation;
67 runtimeclass XmlElement;
68 runtimeclass XmlEntityReference;
69 runtimeclass XmlLoadSettings;
70 runtimeclass XmlNamedNodeMap;
71 runtimeclass XmlNodeList;
72 runtimeclass XmlProcessingInstruction;
73 runtimeclass XmlText;
74
75 declare {
76 interface Windows.Foundation.Collections.IIterable<Windows.Data.Xml.Dom.IXmlNode *>;
77 interface Windows.Foundation.Collections.IIterator<Windows.Data.Xml.Dom.IXmlNode *>;
78 interface Windows.Foundation.Collections.IVectorView<Windows.Data.Xml.Dom.IXmlNode *>;
79 interface Windows.Foundation.IAsyncOperation<Windows.Data.Xml.Dom.XmlDocument *>;
80 interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Data.Xml.Dom.XmlDocument *>;
81 }
82
83 [
84 contract(Windows.Foundation.UniversalApiContract, 1.0)
85 ]
86 enum NodeType
87 {
88 Invalid = 0,
89 ElementNode = 1,
90 AttributeNode = 2,
91 TextNode = 3,
92 DataSectionNode = 4,
93 EntityReferenceNode = 5,
94 EntityNode = 6,
95 ProcessingInstructionNode = 7,
96 CommentNode = 8,
97 DocumentNode = 9,
98 DocumentTypeNode = 10,
99 DocumentFragmentNode = 11,
100 NotationNode = 12,
101 };
102
103 [
104 contract(Windows.Foundation.UniversalApiContract, 1.0),
105 exclusiveto(Windows.Data.Xml.Dom.DtdEntity),
106 uuid(6a0b5ffc-63b4-480f-9e6a-8a92816aade4)
107 ]
108 interface IDtdEntity : IInspectable
109 requires Windows.Data.Xml.Dom.IXmlNode,
110 Windows.Data.Xml.Dom.IXmlNodeSelector,
111 Windows.Data.Xml.Dom.IXmlNodeSerializer
112 {
113 [propget] HRESULT PublicId([out, retval] IInspectable **value);
114 [propget] HRESULT SystemId([out, retval] IInspectable **value);
115 [propget] HRESULT NotationName([out, retval] IInspectable **value);
116 }
117
118 [
119 contract(Windows.Foundation.UniversalApiContract, 1.0),
120 exclusiveto(Windows.Data.Xml.Dom.DtdNotation),
121 uuid(8cb4e04d-6d46-4edb-ab73-df83c51ad397)
122 ]
123 interface IDtdNotation : IInspectable
124 requires Windows.Data.Xml.Dom.IXmlNode,
125 Windows.Data.Xml.Dom.IXmlNodeSelector,
126 Windows.Data.Xml.Dom.IXmlNodeSerializer
127 {
128 [propget] HRESULT PublicId([out, retval] IInspectable **value);
129 [propget] HRESULT SystemId([out, retval] IInspectable **value);
130 }
131
132 [
133 contract(Windows.Foundation.UniversalApiContract, 1.0),
134 exclusiveto(Windows.Data.Xml.Dom.XmlAttribute),
135 uuid(ac144aa4-b4f1-4db6-b206-8a22c308db0a)
136 ]
137 interface IXmlAttribute : IInspectable
138 requires Windows.Data.Xml.Dom.IXmlNode,
139 Windows.Data.Xml.Dom.IXmlNodeSelector,
140 Windows.Data.Xml.Dom.IXmlNodeSerializer
141 {
142 [propget] HRESULT Name([out, retval] HSTRING *value);
143 [propget] HRESULT Specified([out, retval] boolean *value);
144 [propget] HRESULT Value([out, retval] HSTRING *value);
145 [propput] HRESULT Value([in] HSTRING value);
146 }
147
148 [
149 contract(Windows.Foundation.UniversalApiContract, 1.0),
150 exclusiveto(Windows.Data.Xml.Dom.XmlCDataSection),
151 uuid(4d04b46f-c8bd-45b4-8899-0400d7c2c60f)
152 ]
153 interface IXmlCDataSection : IInspectable
154 requires Windows.Data.Xml.Dom.IXmlText,
155 Windows.Data.Xml.Dom.IXmlCharacterData,
156 Windows.Data.Xml.Dom.IXmlNode,
157 Windows.Data.Xml.Dom.IXmlNodeSelector,
158 Windows.Data.Xml.Dom.IXmlNodeSerializer
159 {
160 }
161
162 [
163 contract(Windows.Foundation.UniversalApiContract, 1.0),
164 uuid(132e42ab-4e36-4df6-b1c8-0ce62fd88b26)
165 ]
166 interface IXmlCharacterData : IInspectable
167 requires Windows.Data.Xml.Dom.IXmlNode,
168 Windows.Data.Xml.Dom.IXmlNodeSelector,
169 Windows.Data.Xml.Dom.IXmlNodeSerializer
170 {
171 [propget] HRESULT Data([out, retval] HSTRING *value);
172 [propput] HRESULT Data([in] HSTRING value);
173 [propget] HRESULT Length([out, retval] UINT32 *value);
174 HRESULT SubstringData([in] UINT32 offset, [in] UINT32 count, [out, retval] HSTRING *data);
175 HRESULT AppendData([in] HSTRING data);
176 HRESULT InsertData([in] UINT32 offset, [in] HSTRING data);
177 HRESULT DeleteData([in] UINT32 offset, [in] UINT32 count);
178 HRESULT ReplaceData([in] UINT32 offset, [in] UINT32 count, [in] HSTRING data);
179 }
180
181 [
182 contract(Windows.Foundation.UniversalApiContract, 1.0),
183 exclusiveto(Windows.Data.Xml.Dom.XmlComment),
184 uuid(bca474d5-b61f-4611-9cac-2e92e3476d47)
185 ]
186 interface IXmlComment : IInspectable
187 requires Windows.Data.Xml.Dom.IXmlCharacterData,
188 Windows.Data.Xml.Dom.IXmlNode,
189 Windows.Data.Xml.Dom.IXmlNodeSelector,
190 Windows.Data.Xml.Dom.IXmlNodeSerializer
191 {
192 }
193
194 [
195 contract(Windows.Foundation.UniversalApiContract, 1.0),
196 exclusiveto(Windows.Data.Xml.Dom.XmlDocument),
197 uuid(f7f3a506-1e87-42d6-bcfb-b8c809fa5494)
198 ]
199 interface IXmlDocument : IInspectable
200 requires Windows.Data.Xml.Dom.IXmlNode,
201 Windows.Data.Xml.Dom.IXmlNodeSelector,
202 Windows.Data.Xml.Dom.IXmlNodeSerializer
203 {
204 [propget] HRESULT Doctype([out, retval] Windows.Data.Xml.Dom.XmlDocumentType **value);
205 [propget] HRESULT Implementation([out, retval] Windows.Data.Xml.Dom.XmlDomImplementation **value);
206 [propget] HRESULT DocumentElement([out, retval] Windows.Data.Xml.Dom.XmlElement **value);
207 HRESULT CreateElement([in] HSTRING tag_name, [out, retval] Windows.Data.Xml.Dom.XmlElement **new_element);
208 HRESULT CreateDocumentFragment([out, retval] Windows.Data.Xml.Dom.XmlDocumentFragment **new_document_fragment);
209 HRESULT CreateTextNode([in] HSTRING data, [out, retval] Windows.Data.Xml.Dom.XmlText **new_text_node);
210 HRESULT CreateComment([in] HSTRING data, [out, retval] Windows.Data.Xml.Dom.XmlComment **new_comment);
211 HRESULT CreateProcessingInstruction([in] HSTRING target, [in] HSTRING data, [out, retval] Windows.Data.Xml.Dom.XmlProcessingInstruction **new_processing_instruction);
212 HRESULT CreateAttribute([in] HSTRING name, [out, retval] Windows.Data.Xml.Dom.XmlAttribute **new_attribute);
213 HRESULT CreateEntityReference([in] HSTRING name, [out, retval] Windows.Data.Xml.Dom.XmlEntityReference **new_entity_reference);
214 HRESULT GetElementsByTagName([in] HSTRING tag_name, [out, retval] Windows.Data.Xml.Dom.XmlNodeList **elements);
215 HRESULT CreateCDataSection([in] HSTRING data, [out, retval] Windows.Data.Xml.Dom.XmlCDataSection **new_cdata_section);
216 [propget] HRESULT DocumentUri([out, retval] HSTRING *value);
217 HRESULT CreateAttributeNS([in] IInspectable *namespace_uri, [in] HSTRING qualified_name, [out, retval] Windows.Data.Xml.Dom.XmlAttribute **new_attribute);
218 HRESULT CreateElementNS([in] IInspectable *namespace_uri, [in] HSTRING qualified_name, [out, retval] Windows.Data.Xml.Dom.XmlElement **new_element);
219 HRESULT GetElementById([in] HSTRING element_id, [out, retval] Windows.Data.Xml.Dom.XmlElement **element);
220 HRESULT ImportNode([in] Windows.Data.Xml.Dom.IXmlNode *node, [in] boolean deep, [out, retval] Windows.Data.Xml.Dom.IXmlNode **new_node);
221 }
222
223 [
224 contract(Windows.Foundation.UniversalApiContract, 1.0),
225 exclusiveto(Windows.Data.Xml.Dom.XmlDocumentFragment),
226 uuid(e2ea6a96-0c21-44a5-8bc9-9e4a262708ec)
227 ]
228 interface IXmlDocumentFragment : IInspectable
229 requires Windows.Data.Xml.Dom.IXmlNode,
230 Windows.Data.Xml.Dom.IXmlNodeSelector,
231 Windows.Data.Xml.Dom.IXmlNodeSerializer
232 {
233 }
234
235 [
236 contract(Windows.Foundation.UniversalApiContract, 1.0),
237 exclusiveto(Windows.Data.Xml.Dom.XmlDocument),
238 uuid(6cd0e74e-ee65-4489-9ebf-ca43e87ba637)
239 ]
240 interface IXmlDocumentIO : IInspectable
241 {
242 [overload("LoadXml")] HRESULT LoadXml([in] HSTRING xml);
243 [overload("LoadXml")] HRESULT LoadXmlWithSettings([in] HSTRING xml, [in] Windows.Data.Xml.Dom.XmlLoadSettings *load_settings);
244 HRESULT SaveToFileAsync([in] Windows.Storage.IStorageFile *file, [out, retval] Windows.Foundation.IAsyncAction **async_info);
245 }
246
247 [
248 contract(Windows.Foundation.UniversalApiContract, 1.0),
249 exclusiveto(Windows.Data.Xml.Dom.XmlDocument),
250 uuid(5d034661-7bd8-4ad5-9ebf-81e6347263b1)
251 ]
252 interface IXmlDocumentIO2 : IInspectable
253 {
254 [overload("LoadXmlFromBuffer")] HRESULT LoadXmlFromBuffer(
255 [in] Windows.Storage.Streams.IBuffer *buffer);
256 [overload("LoadXmlFromBuffer")] HRESULT LoadXmlFromBufferWithSettings(
257 [in] Windows.Storage.Streams.IBuffer *buffer,
258 [in] Windows.Data.Xml.Dom.XmlLoadSettings *load_settings);
259 }
260
261 [
262 contract(Windows.Foundation.UniversalApiContract, 1.0),
263 exclusiveto(Windows.Data.Xml.Dom.XmlDocument),
264 uuid(5543d254-d757-4b79-9539-232b18f50bf1)
265 ]
266 interface IXmlDocumentStatics : IInspectable
267 {
268 [overload("LoadFromUriAsync")] HRESULT LoadFromUriAsync(
269 [in] Windows.Foundation.Uri *uri,
270 [out, retval] Windows.Foundation.IAsyncOperation<Windows.Data.Xml.Dom.XmlDocument *> **async_info);
271 [overload("LoadFromUriAsync")] HRESULT LoadFromUriWithSettingsAsync(
272 [in] Windows.Foundation.Uri *uri,
273 [in] Windows.Data.Xml.Dom.XmlLoadSettings *load_settings,
274 [out, retval] Windows.Foundation.IAsyncOperation<Windows.Data.Xml.Dom.XmlDocument *> **async_info);
275 [overload("LoadFromFileAsync")] HRESULT LoadFromFileAsync(
276 [in] Windows.Storage.IStorageFile *file,
277 [out, retval] Windows.Foundation.IAsyncOperation<Windows.Data.Xml.Dom.XmlDocument *> **async_info);
278 [overload("LoadFromFileAsync")] HRESULT LoadFromFileWithSettingsAsync(
279 [in] Windows.Storage.IStorageFile *file,
280 [in] Windows.Data.Xml.Dom.XmlLoadSettings *load_settings,
281 [out, retval] Windows.Foundation.IAsyncOperation<Windows.Data.Xml.Dom.XmlDocument *> **async_info);
282 }
283
284 [
285 contract(Windows.Foundation.UniversalApiContract, 1.0),
286 exclusiveto(Windows.Data.Xml.Dom.XmlDocumentType),
287 uuid(f7342425-9781-4964-8e94-9b1c6dfc9bc7)
288 ]
289 interface IXmlDocumentType : IInspectable
290 requires Windows.Data.Xml.Dom.IXmlNode,
291 Windows.Data.Xml.Dom.IXmlNodeSelector,
292 Windows.Data.Xml.Dom.IXmlNodeSerializer
293 {
294 [propget] HRESULT Name([out, retval] HSTRING *value);
295 [propget] HRESULT Entities([out, retval] Windows.Data.Xml.Dom.XmlNamedNodeMap **value);
296 [propget] HRESULT Notations([out, retval] Windows.Data.Xml.Dom.XmlNamedNodeMap **value);
297 }
298
299 [
300 contract(Windows.Foundation.UniversalApiContract, 1.0),
301 exclusiveto(Windows.Data.Xml.Dom.XmlDomImplementation),
302 uuid(6de58132-f11d-4fbb-8cc6-583cba93112f)
303 ]
304 interface IXmlDomImplementation : IInspectable
305 {
306 HRESULT HasFeature([in] HSTRING feature, [in] IInspectable *version, [out, retval] boolean *feature_supported);
307 }
308
309 [
310 contract(Windows.Foundation.UniversalApiContract, 1.0),
311 exclusiveto(Windows.Data.Xml.Dom.XmlElement),
312 uuid(2dfb8a1f-6b10-4ef8-9f83-efcce8faec37)
313 ]
314 interface IXmlElement : IInspectable
315 requires Windows.Data.Xml.Dom.IXmlNode,
316 Windows.Data.Xml.Dom.IXmlNodeSelector,
317 Windows.Data.Xml.Dom.IXmlNodeSerializer
318 {
319 [propget] HRESULT TagName([out, retval] HSTRING *value);
320 HRESULT GetAttribute([in] HSTRING attribute_name, [out, retval] HSTRING *attribute_value);
321 HRESULT SetAttribute([in] HSTRING attribute_name, [in] HSTRING attribute_value);
322 HRESULT RemoveAttribute([in] HSTRING attribute_name);
323 HRESULT GetAttributeNode([in] HSTRING attribute_name, [out, retval] Windows.Data.Xml.Dom.XmlAttribute **attribute_node);
324 HRESULT SetAttributeNode([in] Windows.Data.Xml.Dom.XmlAttribute *new_attribute, [out, retval] Windows.Data.Xml.Dom.XmlAttribute **previous_attribute);
325 HRESULT RemoveAttributeNode([in] Windows.Data.Xml.Dom.XmlAttribute *attribute_node, [out, retval] Windows.Data.Xml.Dom.XmlAttribute **removed_attribute);
326 HRESULT GetElementsByTagName([in] HSTRING tag_name, [out, retval] Windows.Data.Xml.Dom.XmlNodeList **elements);
327 HRESULT SetAttributeNS([in] IInspectable *namespace_uri, [in] HSTRING qualified_name, [in] HSTRING value);
328 HRESULT GetAttributeNS([in] IInspectable *namespace_uri, [in] HSTRING local_name, [out, retval] HSTRING *value);
329 HRESULT RemoveAttributeNS([in] IInspectable *namespace_uri, [in] HSTRING local_name);
330 HRESULT SetAttributeNodeNS([in] Windows.Data.Xml.Dom.XmlAttribute *new_attribute, [out, retval] Windows.Data.Xml.Dom.XmlAttribute **previous_attribute);
331 HRESULT GetAttributeNodeNS([in] IInspectable *namespace_uri, [in] HSTRING local_name, [out, retval] Windows.Data.Xml.Dom.XmlAttribute **previous_attribute);
332 }
333
334 [
335 contract(Windows.Foundation.UniversalApiContract, 1.0),
336 exclusiveto(Windows.Data.Xml.Dom.XmlEntityReference),
337 uuid(2e2f47bc-c3d0-4ccf-bb86-0ab8c36a61cf)
338 ]
339 interface IXmlEntityReference : IInspectable
340 requires Windows.Data.Xml.Dom.IXmlNode,
341 Windows.Data.Xml.Dom.IXmlNodeSelector,
342 Windows.Data.Xml.Dom.IXmlNodeSerializer
343 {
344 }
345
346 [
347 contract(Windows.Foundation.UniversalApiContract, 1.0),
348 exclusiveto(Windows.Data.Xml.Dom.XmlLoadSettings),
349 uuid(58aa07a8-fed6-46f7-b4c5-fb1ba72108d6)
350 ]
351 interface IXmlLoadSettings : IInspectable
352 {
353 [propget] HRESULT MaxElementDepth([out, retval] UINT32 *value);
354 [propput] HRESULT MaxElementDepth([in] UINT32 value);
355 [propget] HRESULT ProhibitDtd([out, retval] boolean *value);
356 [propput] HRESULT ProhibitDtd([in] boolean value);
357 [propget] HRESULT ResolveExternals([out, retval] boolean *value);
358 [propput] HRESULT ResolveExternals([in] boolean value);
359 [propget] HRESULT ValidateOnParse([out, retval] boolean *value);
360 [propput] HRESULT ValidateOnParse([in] boolean value);
361 [propget] HRESULT ElementContentWhiteSpace([out, retval] boolean *value);
362 [propput] HRESULT ElementContentWhiteSpace([in] boolean value);
363 }
364
365 [
366 contract(Windows.Foundation.UniversalApiContract, 1.0),
367 exclusiveto(Windows.Data.Xml.Dom.XmlNamedNodeMap),
368 uuid(b3a69eb0-aab0-4b82-a6fa-b1453f7c021b)
369 ]
370 interface IXmlNamedNodeMap : IInspectable
371 requires Windows.Foundation.Collections.IVectorView<Windows.Data.Xml.Dom.IXmlNode *>,
372 Windows.Foundation.Collections.IIterable<Windows.Data.Xml.Dom.IXmlNode *>
373 {
374 [propget] HRESULT Length([out, retval] UINT32 *value);
375 HRESULT Item([in] UINT32 index, [out, retval] Windows.Data.Xml.Dom.IXmlNode **node);
376 HRESULT GetNamedItem([in] HSTRING name, [out, retval] Windows.Data.Xml.Dom.IXmlNode **node);
377 HRESULT SetNamedItem([in] Windows.Data.Xml.Dom.IXmlNode *node, [out, retval] Windows.Data.Xml.Dom.IXmlNode **previous_node);
378 HRESULT RemoveNamedItem([in] HSTRING name, [out, retval] Windows.Data.Xml.Dom.IXmlNode **previous_node);
379 HRESULT GetNamedItemNS([in] IInspectable *namespace_uri, [in] HSTRING name, [out, retval] Windows.Data.Xml.Dom.IXmlNode **node);
380 HRESULT RemoveNamedItemNS([in] IInspectable *namespace_uri, [in] HSTRING name, [out, retval] Windows.Data.Xml.Dom.IXmlNode **previous_node);
381 HRESULT SetNamedItemNS([in] Windows.Data.Xml.Dom.IXmlNode *node, [out, retval] Windows.Data.Xml.Dom.IXmlNode **previous_node);
382 }
383
384 [
385 contract(Windows.Foundation.UniversalApiContract, 1.0),
386 uuid(1c741d59-2122-47d5-a856-83f3d4214875)
387 ]
388 interface IXmlNode : IInspectable
389 requires Windows.Data.Xml.Dom.IXmlNodeSelector,
390 Windows.Data.Xml.Dom.IXmlNodeSerializer
391 {
392 [propget] HRESULT NodeValue([out, retval] IInspectable **value);
393 [propput] HRESULT NodeValue([in] IInspectable *value);
394 [propget] HRESULT NodeType([out, retval] Windows.Data.Xml.Dom.NodeType *value);
395 [propget] HRESULT NodeName([out, retval] HSTRING *value);
396 [propget] HRESULT ParentNode([out, retval] Windows.Data.Xml.Dom.IXmlNode **value);
397 [propget] HRESULT ChildNodes([out, retval] Windows.Data.Xml.Dom.XmlNodeList **value);
398 [propget] HRESULT FirstChild([out, retval] Windows.Data.Xml.Dom.IXmlNode **value);
399 [propget] HRESULT LastChild([out, retval] Windows.Data.Xml.Dom.IXmlNode **value);
400 [propget] HRESULT PreviousSibling([out, retval] Windows.Data.Xml.Dom.IXmlNode **value);
401 [propget] HRESULT NextSibling([out, retval] Windows.Data.Xml.Dom.IXmlNode **value);
402 [propget] HRESULT Attributes([out, retval] Windows.Data.Xml.Dom.XmlNamedNodeMap **value);
403 HRESULT HasChildNodes([out, retval] boolean *value);
404 [propget] HRESULT OwnerDocument([out, retval] Windows.Data.Xml.Dom.XmlDocument **value);
405 HRESULT InsertBefore([in] Windows.Data.Xml.Dom.IXmlNode *new_child, [in] Windows.Data.Xml.Dom.IXmlNode *reference_child, [out, retval] Windows.Data.Xml.Dom.IXmlNode **inserted_child);
406 HRESULT ReplaceChild([in] Windows.Data.Xml.Dom.IXmlNode *new_child, [in] Windows.Data.Xml.Dom.IXmlNode *reference_child, [out, retval] Windows.Data.Xml.Dom.IXmlNode **previous_child);
407 HRESULT RemoveChild([in] Windows.Data.Xml.Dom.IXmlNode *child_node, [out, retval] Windows.Data.Xml.Dom.IXmlNode **removed_child);
408 HRESULT AppendChild([in] Windows.Data.Xml.Dom.IXmlNode *new_child, [out, retval] Windows.Data.Xml.Dom.IXmlNode **appended_child);
409 HRESULT CloneNode([in] boolean deep, [out, retval] Windows.Data.Xml.Dom.IXmlNode **new_node);
410 [propget] HRESULT NamespaceUri([out, retval] IInspectable **value);
411 [propget] HRESULT LocalName([out, retval] IInspectable **value);
412 [propget] HRESULT Prefix([out, retval] IInspectable **value);
413 HRESULT Normalize();
414 [propput] HRESULT Prefix([in] IInspectable *value);
415 }
416
417 [
418 contract(Windows.Foundation.UniversalApiContract, 1.0),
419 exclusiveto(Windows.Data.Xml.Dom.XmlNodeList),
420 uuid(8c60ad77-83a4-4ec1-9c54-7ba429e13da6)
421 ]
422 interface IXmlNodeList : IInspectable
423 requires Windows.Foundation.Collections.IVectorView<Windows.Data.Xml.Dom.IXmlNode *>,
424 Windows.Foundation.Collections.IIterable<Windows.Data.Xml.Dom.IXmlNode *>
425 {
426 [propget] HRESULT Length([out, retval] UINT32 *value);
427 HRESULT Item([in] UINT32 index, [out, retval] Windows.Data.Xml.Dom.IXmlNode **node);
428 }
429
430 [
431 contract(Windows.Foundation.UniversalApiContract, 1.0),
432 uuid(63dbba8b-d0db-4fe1-b745-f9433afdc25b)
433 ]
434 interface IXmlNodeSelector : IInspectable
435 {
436 HRESULT SelectSingleNode([in] HSTRING xpath, [out, retval] Windows.Data.Xml.Dom.IXmlNode **node);
437 HRESULT SelectNodes([in] HSTRING xpath, [out, retval] Windows.Data.Xml.Dom.XmlNodeList **node_list);
438 HRESULT SelectSingleNodeNS([in] HSTRING xpath, [in] IInspectable *namespaces, [out, retval] Windows.Data.Xml.Dom.IXmlNode **node);
439 HRESULT SelectNodesNS([in] HSTRING xpath, [in] IInspectable *namespaces, [out, retval] Windows.Data.Xml.Dom.XmlNodeList **node_list);
440 }
441
442 [
443 contract(Windows.Foundation.UniversalApiContract, 1.0),
444 uuid(5cc5b382-e6dd-4991-abef-06d8d2e7bd0c)
445 ]
446 interface IXmlNodeSerializer : IInspectable
447 {
448 HRESULT GetXml([out, retval] HSTRING *outer_xml);
449 [propget] HRESULT InnerText([out, retval] HSTRING *value);
450 [propput] HRESULT InnerText([in] HSTRING value);
451 }
452
453 [
454 contract(Windows.Foundation.UniversalApiContract, 1.0),
455 exclusiveto(Windows.Data.Xml.Dom.XmlProcessingInstruction),
456 uuid(2707fd1e-1e92-4ece-b6f4-26f069078ddc)
457 ]
458 interface IXmlProcessingInstruction : IInspectable
459 requires Windows.Data.Xml.Dom.IXmlNode,
460 Windows.Data.Xml.Dom.IXmlNodeSelector,
461 Windows.Data.Xml.Dom.IXmlNodeSerializer
462 {
463 [propget] HRESULT Target([out, retval] HSTRING *value);
464 [propget] HRESULT Data([out, retval] HSTRING *value);
465 [propput] HRESULT Data([in] HSTRING value);
466 }
467
468 [
469 contract(Windows.Foundation.UniversalApiContract, 1.0),
470 uuid(f931a4cb-308d-4760-a1d5-43b67450ac7e)
471 ]
472 interface IXmlText : IInspectable
473 requires Windows.Data.Xml.Dom.IXmlCharacterData,
474 Windows.Data.Xml.Dom.IXmlNode,
475 Windows.Data.Xml.Dom.IXmlNodeSelector,
476 Windows.Data.Xml.Dom.IXmlNodeSerializer
477 {
478 HRESULT SplitText([in] UINT32 offset, [out, retval] Windows.Data.Xml.Dom.IXmlText **second_part);
479 }
480
481 [
482 contract(Windows.Foundation.UniversalApiContract, 1.0),
483 marshaling_behavior(agile)
484 ]
485 runtimeclass DtdEntity
486 {
487 [default] interface Windows.Data.Xml.Dom.IDtdEntity;
488 interface Windows.Data.Xml.Dom.IXmlNode;
489 interface Windows.Data.Xml.Dom.IXmlNodeSerializer;
490 interface Windows.Data.Xml.Dom.IXmlNodeSelector;
491 }
492
493 [
494 contract(Windows.Foundation.UniversalApiContract, 1.0),
495 marshaling_behavior(agile)
496 ]
497 runtimeclass DtdNotation
498 {
499 [default] interface Windows.Data.Xml.Dom.IDtdNotation;
500 interface Windows.Data.Xml.Dom.IXmlNode;
501 interface Windows.Data.Xml.Dom.IXmlNodeSerializer;
502 interface Windows.Data.Xml.Dom.IXmlNodeSelector;
503 }
504
505 [
506 contract(Windows.Foundation.UniversalApiContract, 1.0),
507 marshaling_behavior(agile)
508 ]
509 runtimeclass XmlAttribute
510 {
511 [default] interface Windows.Data.Xml.Dom.IXmlAttribute;
512 interface Windows.Data.Xml.Dom.IXmlNode;
513 interface Windows.Data.Xml.Dom.IXmlNodeSerializer;
514 interface Windows.Data.Xml.Dom.IXmlNodeSelector;
515 }
516
517 [
518 contract(Windows.Foundation.UniversalApiContract, 1.0),
519 marshaling_behavior(agile)
520 ]
521 runtimeclass XmlCDataSection
522 {
523 [default] interface Windows.Data.Xml.Dom.IXmlCDataSection;
524 interface Windows.Data.Xml.Dom.IXmlText;
525 interface Windows.Data.Xml.Dom.IXmlCharacterData;
526 interface Windows.Data.Xml.Dom.IXmlNode;
527 interface Windows.Data.Xml.Dom.IXmlNodeSerializer;
528 interface Windows.Data.Xml.Dom.IXmlNodeSelector;
529 }
530
531 [
532 contract(Windows.Foundation.UniversalApiContract, 1.0),
533 marshaling_behavior(agile)
534 ]
535 runtimeclass XmlComment
536 {
537 [default] interface Windows.Data.Xml.Dom.IXmlComment;
538 interface Windows.Data.Xml.Dom.IXmlCharacterData;
539 interface Windows.Data.Xml.Dom.IXmlNode;
540 interface Windows.Data.Xml.Dom.IXmlNodeSerializer;
541 interface Windows.Data.Xml.Dom.IXmlNodeSelector;
542 }
543
544 [
545 activatable(Windows.Foundation.UniversalApiContract, 1.0),
546 contract(Windows.Foundation.UniversalApiContract, 1.0),
547 marshaling_behavior(agile),
548 static(Windows.Data.Xml.Dom.IXmlDocumentStatics, Windows.Foundation.UniversalApiContract, 1.0),
549 threading(both)
550 ]
551 runtimeclass XmlDocument
552 {
553 [default] interface Windows.Data.Xml.Dom.IXmlDocument;
554 interface Windows.Data.Xml.Dom.IXmlNode;
555 interface Windows.Data.Xml.Dom.IXmlNodeSerializer;
556 interface Windows.Data.Xml.Dom.IXmlNodeSelector;
557 interface Windows.Data.Xml.Dom.IXmlDocumentIO;
558 [contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.Data.Xml.Dom.IXmlDocumentIO2;
559 }
560
561 [
562 contract(Windows.Foundation.UniversalApiContract, 1.0),
563 marshaling_behavior(agile)
564 ]
565 runtimeclass XmlDocumentFragment
566 {
567 [default] interface Windows.Data.Xml.Dom.IXmlDocumentFragment;
568 interface Windows.Data.Xml.Dom.IXmlNode;
569 interface Windows.Data.Xml.Dom.IXmlNodeSerializer;
570 interface Windows.Data.Xml.Dom.IXmlNodeSelector;
571 }
572
573 [
574 contract(Windows.Foundation.UniversalApiContract, 1.0),
575 marshaling_behavior(agile)
576 ]
577 runtimeclass XmlDocumentType
578 {
579 [default] interface Windows.Data.Xml.Dom.IXmlDocumentType;
580 interface Windows.Data.Xml.Dom.IXmlNode;
581 interface Windows.Data.Xml.Dom.IXmlNodeSerializer;
582 interface Windows.Data.Xml.Dom.IXmlNodeSelector;
583 }
584
585 [
586 contract(Windows.Foundation.UniversalApiContract, 1.0),
587 marshaling_behavior(agile)
588 ]
589 runtimeclass XmlDomImplementation
590 {
591 [default] interface Windows.Data.Xml.Dom.IXmlDomImplementation;
592 }
593
594 [
595 contract(Windows.Foundation.UniversalApiContract, 1.0),
596 marshaling_behavior(agile)
597 ]
598 runtimeclass XmlElement
599 {
600 [default] interface Windows.Data.Xml.Dom.IXmlElement;
601 interface Windows.Data.Xml.Dom.IXmlNode;
602 interface Windows.Data.Xml.Dom.IXmlNodeSerializer;
603 interface Windows.Data.Xml.Dom.IXmlNodeSelector;
604 }
605
606 [
607 contract(Windows.Foundation.UniversalApiContract, 1.0),
608 marshaling_behavior(agile)
609 ]
610 runtimeclass XmlEntityReference
611 {
612 [default] interface Windows.Data.Xml.Dom.IXmlEntityReference;
613 interface Windows.Data.Xml.Dom.IXmlNode;
614 interface Windows.Data.Xml.Dom.IXmlNodeSerializer;
615 interface Windows.Data.Xml.Dom.IXmlNodeSelector;
616 }
617
618 [
619 activatable(Windows.Foundation.UniversalApiContract, 1.0),
620 contract(Windows.Foundation.UniversalApiContract, 1.0),
621 marshaling_behavior(agile),
622 threading(both)
623 ]
624 runtimeclass XmlLoadSettings
625 {
626 [default] interface Windows.Data.Xml.Dom.IXmlLoadSettings;
627 }
628
629 [
630 contract(Windows.Foundation.UniversalApiContract, 1.0),
631 marshaling_behavior(agile)
632 ]
633 runtimeclass XmlNamedNodeMap
634 {
635 [default] interface Windows.Data.Xml.Dom.IXmlNamedNodeMap;
636 interface Windows.Foundation.Collections.IVectorView<Windows.Data.Xml.Dom.IXmlNode *>;
637 interface Windows.Foundation.Collections.IIterable<Windows.Data.Xml.Dom.IXmlNode *>;
638 }
639
640 [
641 contract(Windows.Foundation.UniversalApiContract, 1.0),
642 marshaling_behavior(agile)
643 ]
644 runtimeclass XmlNodeList
645 {
646 [default] interface Windows.Data.Xml.Dom.IXmlNodeList;
647 interface Windows.Foundation.Collections.IVectorView<Windows.Data.Xml.Dom.IXmlNode *>;
648 interface Windows.Foundation.Collections.IIterable<Windows.Data.Xml.Dom.IXmlNode *>;
649 }
650
651 [
652 contract(Windows.Foundation.UniversalApiContract, 1.0),
653 marshaling_behavior(agile)
654 ]
655 runtimeclass XmlProcessingInstruction
656 {
657 [default] interface Windows.Data.Xml.Dom.IXmlProcessingInstruction;
658 interface Windows.Data.Xml.Dom.IXmlNode;
659 interface Windows.Data.Xml.Dom.IXmlNodeSerializer;
660 interface Windows.Data.Xml.Dom.IXmlNodeSelector;
661 }
662
663 [
664 contract(Windows.Foundation.UniversalApiContract, 1.0),
665 marshaling_behavior(agile)
666 ]
667 runtimeclass XmlText
668 {
669 [default] interface Windows.Data.Xml.Dom.IXmlText;
670 interface Windows.Data.Xml.Dom.IXmlCharacterData;
671 interface Windows.Data.Xml.Dom.IXmlNode;
672 interface Windows.Data.Xml.Dom.IXmlNodeSerializer;
673 interface Windows.Data.Xml.Dom.IXmlNodeSelector;
674 }
675 }