1
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
|
2 <?xml-stylesheet type="text/xsl" href="merge.xsl"?>
|
|
3
|
254
|
4 <typesystem package="qt.xml" default-superclass="QtdObject">
|
1
|
5 <inject-code>
|
35
|
6 com.trolltech.qt.Utilities.loadQtLibrary("QtXml");
|
1
|
7 </inject-code>
|
|
8 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QDomNodeList' has equals operators but no qHash() function"/>
|
|
9 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QXmlStreamNamespaceDeclaration' has equals operators but no qHash() function"/>
|
|
10 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QDomNamedNodeMap' has equals operators but no qHash() function"/>
|
|
11 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QXmlStreamNotationDeclaration' has equals operators but no qHash() function"/>
|
|
12 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QDomNode' has equals operators but no qHash() function"/>
|
|
13 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QDomImplementation' has equals operators but no qHash() function"/>
|
|
14 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QXmlStreamAttribute' has equals operators but no qHash() function"/>
|
|
15 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QXmlStreamAttributes' has equals operators but no qHash() function"/>
|
|
16 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QXmlStreamEntityDeclaration' has equals operators but no qHash() function"/>
|
|
17 <rejection class="QXmlAttributes::Attribute"/>
|
|
18 <rejection class="QDomNode" field-name="impl"/>
|
|
19
|
|
20 <enum-type name="QDomNode::NodeType"/>
|
|
21 <enum-type name="QDomNode::EncodingPolicy"/>
|
|
22 <enum-type name="QDomImplementation::InvalidDataPolicy"/>
|
|
23 <enum-type name="QXmlStreamReader::Error"/>
|
|
24 <enum-type name="QXmlStreamReader::TokenType"/>
|
|
25
|
|
26
|
|
27 <value-type name="QDomAttr">
|
|
28 <modify-function signature="operator=(QDomAttr)" remove="all"/>
|
|
29 <modify-function signature="nodeType()const" remove="all"/>
|
|
30 </value-type>
|
|
31
|
|
32 <value-type name="QDomCDATASection">
|
|
33 <modify-function signature="operator=(QDomCDATASection)" remove="all"/>
|
|
34 <modify-function signature="nodeType()const" remove="all"/>
|
|
35 </value-type>
|
|
36
|
|
37 <value-type name="QDomCharacterData">
|
|
38 <modify-function signature="operator=(QDomCharacterData)" remove="all"/>
|
|
39 <modify-function signature="nodeType()const" remove="all"/>
|
|
40 </value-type>
|
|
41
|
|
42 <value-type name="QDomComment">
|
|
43 <modify-function signature="operator=(QDomComment)" remove="all"/>
|
|
44 <modify-function signature="nodeType()const" remove="all"/>
|
|
45 </value-type>
|
|
46
|
|
47 <value-type name="QDomDocument">
|
|
48 <modify-function signature="nodeType()const" remove="all"/>
|
|
49 <modify-function signature="operator=(QDomDocument)" remove="all"/>
|
|
50
|
|
51 <!--bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); -->
|
|
52 <modify-function signature="setContent(QIODevice*, bool, QString*, int*, int*)">
|
|
53 <modify-argument index="1">
|
|
54 <reference-count action="set" variable-name="__rcContent"/>
|
|
55 </modify-argument>
|
|
56 </modify-function>
|
|
57
|
|
58 <modify-function signature="setContent(QXmlInputSource*,QXmlReader*,QString*,int*,int*)">
|
|
59 <modify-argument index="1">
|
|
60 <reference-count action="set" variable-name="__rcContent"/>
|
|
61 </modify-argument>
|
|
62 </modify-function>
|
35
|
63
|
|
64 <modify-function signature="setContent(QXmlInputSource*,bool,QString*,int*,int*)">
|
|
65 <modify-argument index="1">
|
|
66 <reference-count action="set" variable-name="__rcContent"/>
|
|
67 </modify-argument>
|
|
68 </modify-function>
|
1
|
69
|
|
70 <modify-function signature="setContent(QIODevice*,QString*,int*,int*)">
|
|
71 <modify-argument index="1">
|
|
72 <reference-count action="set" variable-name="__rcContent"/>
|
|
73 </modify-argument>
|
|
74 </modify-function>
|
|
75
|
35
|
76 <!--
|
1
|
77 <inject-code>
|
|
78 <import-file name="typesystem_xml-java.java" quote-after-line="class QDomDocument___" quote-before-line="}// class"/>
|
|
79 </inject-code>
|
|
80
|
|
81
|
|
82 <template name="xml.domdocument_setContent">
|
|
83 public final Result setContent(%ARGUMENTS){
|
|
84 QNativePointer errorStr = new QNativePointer(Type.String);
|
|
85 QNativePointer errorLine = new QNativePointer(Type.Int);
|
|
86 QNativePointer errorColumn = new QNativePointer(Type.Int);
|
|
87
|
|
88 boolean success = setContent(%CALL_ARGUMENTS, errorStr, errorLine, errorColumn);
|
|
89 return new Result(success, errorStr, errorLine, errorColumn);
|
|
90 }
|
|
91 </template>
|
|
92
|
35
|
93
|
|
94 <modify-function signature="setContent(QXmlInputSource*,bool,QString*,int*,int*)">
|
|
95 <access modifier="private"/>
|
|
96 <modify-argument index="3">
|
|
97 <remove-default-expression/>
|
|
98 </modify-argument>
|
|
99 <modify-argument index="4">
|
|
100 <remove-default-expression/>
|
|
101 </modify-argument>
|
|
102 <modify-argument index="5">
|
|
103 <remove-default-expression/>
|
|
104 </modify-argument>
|
|
105 </modify-function>
|
|
106 -->
|
1
|
107 <!--bool setContent(QIODevice* dev, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); -->
|
35
|
108 <!-- <modify-function signature="setContent(QIODevice*, bool, QString*, int*, int*)">
|
1
|
109 <access modifier="private"/>
|
|
110 <modify-argument index="3">
|
|
111 <remove-default-expression/>
|
|
112 </modify-argument>
|
|
113 <modify-argument index="4">
|
|
114 <remove-default-expression/>
|
|
115 </modify-argument>
|
|
116 <modify-argument index="5">
|
|
117 <remove-default-expression/>
|
|
118 </modify-argument>
|
|
119 </modify-function>
|
|
120 <inject-code class="java">
|
|
121 <insert-template name="xml.domdocument_setContent">
|
|
122 <replace from="%ARGUMENTS" to="QIODevice dev, boolean namespaceProcessing"/>
|
|
123 <replace from="%CALL_ARGUMENTS" to="dev, namespaceProcessing"/>
|
|
124 </insert-template>
|
|
125 </inject-code>
|
35
|
126 -->
|
1
|
127 <!--bool setContent(const QByteArray& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 ); -->
|
35
|
128 <!-- <modify-function signature="setContent(QByteArray, bool, QString*, int*, int*)">
|
1
|
129 <access modifier="private"/>
|
|
130 <modify-argument index="3">
|
|
131 <remove-default-expression/>
|
|
132 </modify-argument>
|
|
133 <modify-argument index="4">
|
|
134 <remove-default-expression/>
|
|
135 </modify-argument>
|
|
136 <modify-argument index="5">
|
|
137 <remove-default-expression/>
|
|
138 </modify-argument>
|
|
139
|
|
140 </modify-function>
|
|
141 <inject-code class="java">
|
|
142 <insert-template name="xml.domdocument_setContent">
|
|
143 <replace from="%ARGUMENTS" to="QByteArray text, boolean namespaceProcessing"/>
|
|
144 <replace from="%CALL_ARGUMENTS" to="text, namespaceProcessing"/>
|
|
145 </insert-template>
|
|
146 </inject-code>
|
35
|
147 -->
|
1
|
148 <!--bool setContent(const QString& text, bool namespaceProcessing, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0 );-->
|
35
|
149 <!-- <modify-function signature="setContent(QString, bool, QString*, int*, int*)">
|
1
|
150 <access modifier="private"/>
|
|
151 <modify-argument index="3">
|
|
152 <remove-default-expression/>
|
|
153 </modify-argument>
|
|
154 <modify-argument index="4">
|
|
155 <remove-default-expression/>
|
|
156 </modify-argument>
|
|
157 <modify-argument index="5">
|
|
158 <remove-default-expression/>
|
|
159 </modify-argument>
|
|
160 </modify-function>
|
|
161 <inject-code class="java">
|
|
162 <insert-template name="xml.domdocument_setContent">
|
|
163 <replace from="%ARGUMENTS" to="String text, boolean namespaceProcessing"/>
|
|
164 <replace from="%CALL_ARGUMENTS" to="text, namespaceProcessing"/>
|
|
165 </insert-template>
|
|
166 </inject-code>
|
|
167
|
|
168 <modify-function signature="setContent(QXmlInputSource*,QXmlReader*,QString*,int*,int*)">
|
|
169 <access modifier="private"/>
|
|
170 <modify-argument index="3">
|
|
171 <remove-default-expression/>
|
|
172 </modify-argument>
|
|
173 <modify-argument index="4">
|
|
174 <remove-default-expression/>
|
|
175 </modify-argument>
|
|
176 <modify-argument index="5">
|
|
177 <remove-default-expression/>
|
|
178 </modify-argument>
|
|
179 </modify-function>
|
|
180 <inject-code>
|
|
181 <insert-template name="xml.domdocument_setContent">
|
|
182 <replace from="%ARGUMENTS" to="QXmlInputSource source, QXmlReader reader"/>
|
|
183 <replace from="%CALL_ARGUMENTS" to="source, reader"/>
|
|
184 </insert-template>
|
|
185 </inject-code>
|
|
186
|
|
187 <modify-function signature="setContent(QString,QString*,int*,int*)">
|
|
188 <access modifier="private"/>
|
|
189 <modify-argument index="2">
|
|
190 <remove-default-expression/>
|
|
191 </modify-argument>
|
|
192 <modify-argument index="3">
|
|
193 <remove-default-expression/>
|
|
194 </modify-argument>
|
|
195 <modify-argument index="4">
|
|
196 <remove-default-expression/>
|
|
197 </modify-argument>
|
|
198 </modify-function>
|
|
199 <inject-code>
|
|
200 <insert-template name="xml.domdocument_setContent">
|
|
201 <replace from="%ARGUMENTS" to="String text"/>
|
|
202 <replace from="%CALL_ARGUMENTS" to="text"/>
|
|
203 </insert-template>
|
|
204 </inject-code>
|
|
205
|
|
206 <modify-function signature="setContent(QByteArray,QString*,int*,int*)">
|
|
207 <access modifier="private"/>
|
|
208 <modify-argument index="2">
|
|
209 <remove-default-expression/>
|
|
210 </modify-argument>
|
|
211 <modify-argument index="3">
|
|
212 <remove-default-expression/>
|
|
213 </modify-argument>
|
|
214 <modify-argument index="4">
|
|
215 <remove-default-expression/>
|
|
216 </modify-argument>
|
|
217 </modify-function>
|
|
218 <inject-code>
|
|
219 <insert-template name="xml.domdocument_setContent">
|
|
220 <replace from="%ARGUMENTS" to="QByteArray buffer"/>
|
|
221 <replace from="%CALL_ARGUMENTS" to="buffer"/>
|
|
222 </insert-template>
|
|
223 </inject-code>
|
|
224
|
|
225 <modify-function signature="setContent(QIODevice*,QString*,int*,int*)">
|
|
226 <access modifier="private"/>
|
|
227 <modify-argument index="2">
|
|
228 <remove-default-expression/>
|
|
229 </modify-argument>
|
|
230 <modify-argument index="3">
|
|
231 <remove-default-expression/>
|
|
232 </modify-argument>
|
|
233 <modify-argument index="4">
|
|
234 <remove-default-expression/>
|
|
235 </modify-argument>
|
|
236 </modify-function>
|
|
237 <inject-code>
|
|
238 <insert-template name="xml.domdocument_setContent">
|
|
239 <replace from="%ARGUMENTS" to="QIODevice dev"/>
|
|
240 <replace from="%CALL_ARGUMENTS" to="dev"/>
|
|
241 </insert-template>
|
|
242 </inject-code>
|
35
|
243 -->
|
1
|
244 </value-type>
|
|
245
|
|
246 <value-type name="QDomDocumentFragment">
|
|
247 <modify-function signature="nodeType()const" remove="all"/>
|
|
248 <modify-function signature="operator=(QDomDocumentFragment)" remove="all"/>
|
|
249 </value-type>
|
|
250
|
|
251 <value-type name="QDomDocumentType">
|
|
252 <modify-function signature="nodeType()const" remove="all"/>
|
|
253 <modify-function signature="operator=(QDomDocumentType)" remove="all"/>
|
|
254 </value-type>
|
|
255
|
|
256 <value-type name="QDomEntity">
|
|
257 <modify-function signature="nodeType()const" remove="all"/>
|
|
258 <modify-function signature="operator=(QDomEntity)" remove="all"/>
|
|
259 </value-type>
|
|
260
|
|
261 <value-type name="QDomEntityReference">
|
|
262 <modify-function signature="nodeType()const" remove="all"/>
|
|
263 <modify-function signature="operator=(QDomEntityReference)" remove="all"/>
|
|
264 </value-type>
|
|
265
|
|
266 <value-type name="QDomImplementation">
|
|
267 <modify-function signature="operator=(QDomImplementation)" remove="all"/>
|
|
268 </value-type>
|
|
269
|
|
270 <value-type name="QDomNamedNodeMap">
|
|
271 <modify-function signature="operator=(QDomNamedNodeMap)" remove="all"/>
|
|
272 </value-type>
|
|
273
|
|
274 <value-type name="QDomNode">
|
|
275 <modify-function signature="operator=(QDomNode)" remove="all"/>
|
|
276 <modify-function signature="attributes()const" remove="all"/>
|
|
277 </value-type>
|
|
278
|
|
279 <value-type name="QDomNodeList">
|
|
280 <modify-function signature="operator=(const QDomNodeList &)" remove="all"/>
|
|
281 </value-type>
|
|
282
|
|
283 <value-type name="QDomNotation">
|
|
284 <modify-function signature="nodeType()const" remove="all"/>
|
|
285 <modify-function signature="operator=(QDomNotation)" remove="all"/>
|
|
286 </value-type>
|
|
287
|
|
288 <value-type name="QDomProcessingInstruction">
|
|
289 <modify-function signature="nodeType()const" remove="all"/>
|
|
290 <modify-function signature="operator=(QDomProcessingInstruction)" remove="all"/>
|
|
291 </value-type>
|
|
292
|
|
293 <value-type name="QDomText">
|
|
294 <modify-function signature="nodeType()const" remove="all"/>
|
|
295 <modify-function signature="operator=(const QDomText &)" remove="all"/>
|
|
296 </value-type>
|
|
297
|
|
298 <value-type name="QXmlParseException"/>
|
|
299
|
|
300 <value-type name="QXmlStreamAttribute">
|
|
301 <modify-function signature="operator=(QXmlStreamAttribute)" remove="all"/>
|
|
302 </value-type>
|
|
303
|
|
304 <value-type name="QXmlStreamAttributes">
|
|
305 <modify-function signature="operator+(QVector<QXmlStreamAttribute>)const" remove="all"/>
|
|
306 <modify-function signature="operator<<(QVector<QXmlStreamAttribute>)" remove="all"/>
|
|
307 <modify-function signature="operator<<(QXmlStreamAttribute)" remove="all"/>
|
|
308 <modify-function signature="push_back(QXmlStreamAttribute)" remove="all"/>
|
|
309 <modify-function signature="pop_back()" remove="all"/>
|
|
310 <modify-function signature="push_front(QXmlStreamAttribute)" remove="all"/>
|
|
311 <modify-function signature="pop_front()" remove="all"/>
|
|
312
|
|
313 <modify-function signature="value(const QString &, const QLatin1String &)const">
|
|
314 <remove/>
|
|
315 </modify-function>
|
|
316 <modify-function signature="value(const QLatin1String &, const QLatin1String &)const">
|
|
317 <remove/>
|
|
318 </modify-function>
|
|
319 <modify-function signature="value(const QLatin1String &)const">
|
|
320 <remove/>
|
|
321 </modify-function>
|
35
|
322 <modify-function signature="hasAttribute(const QLatin1String &)const">
|
|
323 <remove/>
|
|
324 </modify-function>
|
1
|
325 </value-type>
|
|
326
|
|
327 <value-type name="QXmlStreamNamespaceDeclaration">
|
|
328 <modify-function signature="operator=(QXmlStreamNamespaceDeclaration)" remove="all"/>
|
|
329 </value-type>
|
|
330
|
|
331 <value-type name="QXmlStreamNotationDeclaration">
|
|
332 <modify-function signature="operator=(QXmlStreamNotationDeclaration)" remove="all"/>
|
|
333 </value-type>
|
|
334
|
|
335 <value-type name="QXmlStreamEntityDeclaration">
|
|
336 <modify-function signature="operator=(QXmlStreamEntityDeclaration)" remove="all"/>
|
|
337 </value-type>
|
|
338
|
|
339 <value-type name="QXmlAttributes">
|
|
340 <modify-function signature="index(const QLatin1String&) const">
|
|
341 <remove/>
|
|
342 </modify-function>
|
|
343 <modify-function signature="value(const QLatin1String&) const">
|
|
344 <remove/>
|
|
345 </modify-function>
|
|
346 </value-type>
|
|
347
|
|
348 <value-type name="QXmlNamespaceSupport">
|
304
|
349 <private-copy-constructor/>
|
35
|
350 <!-- <custom-constructor>
|
1
|
351 QXmlNamespaceSupport *clone = new QXmlNamespaceSupport;
|
|
352 clone->setPrefix("", copy->uri(""));
|
|
353
|
|
354 QStringList prefixes = copy->prefixes();
|
|
355 for (int i=0; i<prefixes.size(); ++i)
|
|
356 clone->setPrefix(prefixes.at(i), copy->uri(prefixes.at(i)));
|
|
357
|
|
358 return clone;
|
|
359 </custom-constructor>
|
|
360 <custom-destructor>
|
|
361 delete (QXmlNamespaceSupport *)copy;
|
|
362 </custom-destructor>
|
|
363
|
|
364
|
|
365 <inject-code>
|
|
366 <import-file name="typesystem_xml-java.java" quote-after-line="class QXmlNamespaceSupport___" quote-before-line="}// class"/>
|
|
367 </inject-code>
|
|
368 <modify-function signature="processName(QString,bool,QString&,QString&)const">
|
|
369 <access modifier="private"/>
|
|
370 </modify-function>
|
|
371
|
|
372
|
|
373 <modify-function signature="splitName(QString,QString&,QString&)const">
|
|
374 <access modifier="private"/>
|
|
375 </modify-function>
|
35
|
376 -->
|
1
|
377 </value-type>
|
|
378
|
|
379 <value-type name="QDomElement">
|
|
380 <modify-function signature="nodeType()const" remove="all"/>
|
|
381 <modify-function signature="operator=(QDomElement)" remove="all"/>
|
|
382
|
|
383 <modify-function signature="setAttribute(const QString &, unsigned int)">
|
|
384 <remove/>
|
|
385 </modify-function>
|
|
386 <modify-function signature="setAttribute(const QString &, unsigned long long)">
|
|
387 <remove/>
|
|
388 </modify-function>
|
|
389 <modify-function signature="setAttributeNS(const QString, const QString &, unsigned int)">
|
|
390 <remove/>
|
|
391 </modify-function>
|
|
392 <modify-function signature="setAttributeNS(const QString, const QString &, unsigned long long)">
|
|
393 <remove/>
|
|
394 </modify-function>
|
|
395
|
|
396
|
35
|
397 <!--
|
1
|
398 <template name="xml.constQString_to_constQStringRef">
|
|
399 QString %out = qtjambi_to_qstring(__jni_env, (jstring) %in);
|
|
400 </template>
|
|
401
|
|
402 <modify-function signature="attributeNS(const QString, const QString &, const QString &) const">
|
|
403 <modify-argument index="1">
|
|
404 <conversion-rule class="native">
|
|
405 <insert-template name="xml.constQString_to_constQStringRef"/>
|
|
406 </conversion-rule>
|
|
407 </modify-argument>
|
|
408 </modify-function>
|
|
409 <modify-function signature="setAttributeNS(const QString, const QString &, const QString &)">
|
|
410 <modify-argument index="1">
|
|
411 <conversion-rule class="native">
|
|
412 <insert-template name="xml.constQString_to_constQStringRef"/>
|
|
413 </conversion-rule>
|
|
414 </modify-argument>
|
|
415 </modify-function>
|
|
416 <modify-function signature="setAttributeNS(const QString, const QString &, int)">
|
|
417 <modify-argument index="1">
|
|
418 <conversion-rule class="native">
|
|
419 <insert-template name="xml.constQString_to_constQStringRef"/>
|
|
420 </conversion-rule>
|
|
421 </modify-argument>
|
|
422 </modify-function>
|
|
423 <modify-function signature="setAttributeNS(const QString, const QString &, uint)">
|
|
424 <modify-argument index="1">
|
|
425 <conversion-rule class="native">
|
|
426 <insert-template name="xml.constQString_to_constQStringRef"/>
|
|
427 </conversion-rule>
|
|
428 </modify-argument>
|
|
429 </modify-function>
|
|
430 <modify-function signature="setAttributeNS(const QString, const QString &, long long)">
|
|
431 <modify-argument index="1">
|
|
432 <conversion-rule class="native">
|
|
433 <insert-template name="xml.constQString_to_constQStringRef"/>
|
|
434 </conversion-rule>
|
|
435 </modify-argument>
|
|
436 </modify-function>
|
|
437 <modify-function signature="setAttributeNS(const QString, const QString &, unsigned long long)">
|
|
438 <modify-argument index="1">
|
|
439 <conversion-rule class="native">
|
|
440 <insert-template name="xml.constQString_to_constQStringRef"/>
|
|
441 </conversion-rule>
|
|
442 </modify-argument>
|
|
443 </modify-function>
|
|
444 <modify-function signature="setAttributeNS(const QString, const QString &, double)">
|
|
445 <modify-argument index="1">
|
|
446 <conversion-rule class="native">
|
|
447 <insert-template name="xml.constQString_to_constQStringRef"/>
|
|
448 </conversion-rule>
|
|
449 </modify-argument>
|
|
450 </modify-function>
|
35
|
451 -->
|
1
|
452 </value-type>
|
|
453
|
|
454 <interface-type name="QXmlContentHandler">
|
|
455 <modify-function signature="setDocumentLocator(QXmlLocator*)">
|
|
456 <modify-argument index="1">
|
|
457 <define-ownership class="shell" owner="c++"/>
|
|
458 </modify-argument>
|
|
459 </modify-function>
|
|
460 </interface-type>
|
|
461 <interface-type name="QXmlDTDHandler"/>
|
|
462 <interface-type name="QXmlDeclHandler"/>
|
|
463 <interface-type name="QXmlEntityResolver">
|
35
|
464 <!-- <inject-code>
|
1
|
465 <import-file name="typesystem_xml-java.java" quote-after-line="interface QXmlEntityResolver___" quote-before-line="}// class"/>
|
|
466 </inject-code>
|
|
467 <modify-function signature="resolveEntity(QString,QString,QXmlInputSource&*)">
|
|
468 <modify-argument index="3">
|
|
469 <remove-argument/>
|
|
470 <conversion-rule class="shell">
|
|
471 // nothing
|
|
472 </conversion-rule>
|
|
473 <conversion-rule class="native">
|
|
474 QXmlInputSource *inputSourceHolder = 0;
|
|
475 QXmlInputSource *&%out = inputSourceHolder;
|
|
476 </conversion-rule>
|
|
477 </modify-argument>
|
|
478 <modify-argument index="return">
|
35
|
479 <replace-type modified-type="com.trolltech.qt.xml.QXmlEntityResolver$ResolvedEntity"/>
|
1
|
480 <conversion-rule class="native">
|
|
481 jobject %out = qtjambi_to_resolvedentity(__jni_env, %in, inputSourceHolder);
|
|
482 </conversion-rule>
|
|
483 <conversion-rule class="shell">
|
|
484 bool %out = qtjambi_from_resolvedentity(__jni_env, (void *&) %3, %in);
|
|
485 </conversion-rule>
|
|
486 </modify-argument>
|
|
487 </modify-function>
|
35
|
488 -->
|
1
|
489 </interface-type>
|
|
490 <interface-type name="QXmlErrorHandler"/>
|
|
491 <interface-type name="QXmlLexicalHandler"/>
|
|
492
|
|
493 <object-type name="QXmlDefaultHandler">
|
|
494 <modify-function signature="setDocumentLocator(QXmlLocator*)">
|
|
495 <modify-argument index="1">
|
|
496 <define-ownership class="shell" owner="c++"/>
|
|
497 </modify-argument>
|
|
498 </modify-function>
|
|
499 </object-type>
|
|
500 <object-type name="QXmlInputSource"/>
|
|
501 <object-type name="QXmlLocator"/>
|
|
502 <object-type name="QXmlSimpleReader">
|
63
|
503 <modify-function signature="parse(const QXmlInputSource &)" remove="all" />
|
1
|
504 <modify-function signature="parse(const QXmlInputSource*,bool)">
|
|
505 <modify-argument index="1" invalidate-after-use="yes"/>
|
|
506 </modify-function>
|
|
507
|
|
508 <modify-function signature="setContentHandler(QXmlContentHandler*)">
|
|
509 <modify-argument index="1">
|
|
510 <reference-count action="set" variable-name="__rcContentHandler"/>
|
|
511 </modify-argument>
|
|
512 </modify-function>
|
|
513 <modify-function signature="setDTDHandler(QXmlDTDHandler*)">
|
|
514 <modify-argument index="1">
|
|
515 <reference-count action="set" variable-name="__rcDTDHandler"/>
|
|
516 </modify-argument>
|
|
517 </modify-function>
|
|
518 <modify-function signature="setDeclHandler(QXmlDeclHandler*)">
|
|
519 <modify-argument index="1">
|
|
520 <reference-count action="set" variable-name="__rcDeclHandler"/>
|
|
521 </modify-argument>
|
|
522 </modify-function>
|
|
523 <modify-function signature="setEntityResolver(QXmlEntityResolver*)">
|
|
524 <modify-argument index="1">
|
|
525 <reference-count action="set" variable-name="__rcEntityResolver"/>
|
|
526 </modify-argument>
|
|
527 </modify-function>
|
|
528 <modify-function signature="setErrorHandler(QXmlErrorHandler*)">
|
|
529 <modify-argument index="1">
|
|
530 <reference-count action="set" variable-name="__rcErrorHandler"/>
|
|
531 </modify-argument>
|
|
532 </modify-function>
|
|
533 <modify-function signature="setLexicalHandler(QXmlLexicalHandler*)">
|
|
534 <modify-argument index="1">
|
|
535 <reference-count action="set" variable-name="__rcLexicalHandler"/>
|
|
536 </modify-argument>
|
|
537 </modify-function>
|
|
538 </object-type>
|
|
539
|
|
540 <object-type name="QXmlStreamReader">
|
|
541 <modify-function signature="QXmlStreamReader(const char*)" remove="all"/>
|
|
542 <modify-function signature="addData(const char*)" remove="all"/>
|
|
543 <modify-function signature="setEntityResolver(QXmlStreamEntityResolver*)">
|
|
544 <modify-argument index="1">
|
|
545 <reference-count action="set" variable-name="__rcEntityResolver"/>
|
|
546 </modify-argument>
|
|
547 </modify-function>
|
63
|
548 <modify-function signature="parse(const QXmlInputSource &)" remove="all" />
|
1
|
549
|
|
550 <modify-function signature="setDevice(QIODevice*)">
|
|
551 <modify-argument index="1">
|
|
552 <reference-count action="set" variable-name="__rcDevice"/>
|
|
553 </modify-argument>
|
|
554 </modify-function>
|
|
555 <modify-function signature="clear()">
|
|
556 <inject-code class="java" position="end">
|
|
557 __rcDevice = null; // clear() call removes device from stream
|
|
558 </inject-code>
|
|
559 </modify-function>
|
|
560 </object-type>
|
|
561 <object-type name="QXmlStreamWriter">
|
|
562 <modify-function signature="QXmlStreamWriter(QString *)">
|
|
563 <remove/>
|
|
564 </modify-function>
|
35
|
565 <!--
|
1
|
566 <inject-code>
|
|
567 <import-file name="typesystem_xml-java.java" quote-after-line="class QXmlStreamWriter___" quote-before-line="}// class"/>
|
|
568 </inject-code>
|
|
569 <modify-function signature="QXmlStreamWriter(QByteArray *)">
|
|
570 <access modifier="private"/>
|
|
571 </modify-function>
|
|
572
|
|
573 <modify-function signature="setCodec(const char *)">
|
|
574 <access modifier="private"/>
|
|
575 </modify-function>
|
|
576
|
|
577 <modify-function signature="setCodec(QTextCodec*)">
|
|
578 <modify-argument index="1">
|
|
579 <reference-count action="set" variable-name="__rcCodec"/>
|
|
580 </modify-argument>
|
|
581 </modify-function>
|
|
582 <modify-function signature="setDevice(QIODevice*)">
|
|
583 <modify-argument index="1">
|
|
584 <reference-count action="set" variable-name="__rcDevice"/>
|
|
585 </modify-argument>
|
|
586 </modify-function>
|
35
|
587 -->
|
1
|
588 </object-type>
|
|
589
|
|
590 <object-type name="QXmlReader">
|
|
591 <modify-function signature="parse(const QXmlInputSource*)">
|
|
592 <modify-argument index="1" invalidate-after-use="yes"/>
|
|
593 </modify-function>
|
|
594
|
|
595 <modify-function signature="parse(const QXmlInputSource &)">
|
|
596 <remove class="java"/>
|
|
597 </modify-function>
|
|
598
|
|
599 <modify-function signature="property(QString,bool*)const">
|
|
600 <remove class="java"/>
|
|
601 </modify-function>
|
|
602 <modify-function signature="setProperty(QString,void*)">
|
|
603 <remove class="java"/>
|
|
604 </modify-function>
|
|
605
|
|
606 <modify-function signature="feature(QString,bool*)const">
|
|
607 <modify-argument index="2">
|
|
608 <remove-argument/>
|
|
609 <conversion-rule class="shell">
|
|
610 // nothing
|
|
611 </conversion-rule>
|
|
612 <conversion-rule class="native">
|
|
613 bool *%out = 0;
|
|
614 </conversion-rule>
|
|
615 </modify-argument>
|
|
616
|
|
617 <modify-argument index="0">
|
|
618 <conversion-rule class="shell">
|
|
619 bool %out = (bool) %in;
|
|
620 if (%2 != 0) *%2 = hasFeature(%1);
|
|
621 </conversion-rule>
|
|
622 </modify-argument>
|
|
623 </modify-function>
|
|
624 </object-type>
|
|
625
|
|
626 </typesystem>
|