Sync API with GLib GDir head
[gnome.introspection-doc-generator] / Introspect / extensions / xml.js
1 //<script type="text/javascript"> 
2 /**
3 * @class xml.XMLNode
4 * Xml node 
5 * @noconstructor
6
7 * @cfg {String} name Name of Node ???
8 * @cfg {XMLNode} children First child (use next property to iterate children
9 * @cfg {XMLNode} parent Parent node of this one
10 * @cfg {XMLNode} next Next sibling
11 * @cfg {XMLNode} prev Previous sibling
12 * @cfg {String} Text contents of Node
13 * @cfg {XMLNode} last Last Sibling? or last child - FIXME
14 * @cfg {String} type - Type of node : element, attribute, text
15 * @cfg {XMLAttribute} properties First Attribute of node
16 */
17 XMLNode = function() {}
18
19 Roo.apply(XMLNode.prototype, {
20     
21 });
22
23
24 /**
25 * @class xml.XMLDocument
26 * Xml document 
27 * @noconstructor
28
29 * @cfg {String} name Name of Node ???
30 * @cfg {XMLNode} children First child (use next property to iterate children
31 * @cfg {XMLNode} parent Parent node of this one
32 * @cfg {XMLNode} next Next sibling
33 * @cfg {XMLNode} prev Previous sibling
34 * @cfg {String} Text contents of Node
35 * @cfg {XMLNode} last Last Sibling? or last child - FIXME
36 * @cfg {String} type - Type of node : element, attribute, text
37 * @cfg {XMLAttribute} properties First Attribute of node
38 * @cfg {XMLNode} root Root node of document.
39 */
40
41
42 XMLDocument  = function () { };
43
44 Roo.extend(XMLDocument, XMLNode, {
45     root : { }, 
46 });
47
48
49 /**
50 * Create a new xpath context ?
51 * @param {Object} .....
52 * @return {XMLNode} returns obj
53 * @member XMLDocument xpathNewContext
54 */
55
56 XMLDocument.xpathNewContext = function() { }
57
58
59
60
61    
62 XMLAttribute  = function () { };
63    
64 Roo.extend(XMLAttribute, XMLNode, {   
65
66 });
67
68  
69 XMLXPathContext  = function() { };
70 Roo.apply(XMLXPathContext.prototype, {
71     value : '',
72 });
73
74 XMLXPathContext.xpathEval = function () {} 
75 XMLXPathContext.xpathRegisterNs = function () {} 
76
77
78 XMLXPathObj = function() { };
79 Roo.apply(XMLXPathObj.prototype, {
80     value : '',
81 });
82
83
84
85 parseFile = function () { }
86 parseString = function () { }
87 _nodeProto = { }
88    
89   
90