1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <dom/html_document.h>
#include <dom/css_stylesheet.h>
#include <dom/dom_doc.h>
#include <dom/dom_string.h>
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/DOMImplementation.h>
class DOMImplementationJBridge : public DOM::DOMImplementation
{
public:
DOMImplementationJBridge() : DOM::DOMImplementation() {};
DOMImplementationJBridge(const DOM::DOMImplementation& arg1) : DOM::DOMImplementation(arg1) {};
};
JNIEXPORT jobject JNICALL
Java_org_kde_koala_DOMImplementation_createCSSStyleSheet(JNIEnv* env, jobject obj, jstring title, jstring media)
{
static DOM::DOMString* _domstring_title = 0;
static DOM::DOMString* _domstring_media = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleSheet(((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->createCSSStyleSheet((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, title, &_domstring_title), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, media, &_domstring_media))), "org.kde.koala.CSSStyleSheet", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_DOMImplementation_createDocumentType(JNIEnv* env, jobject obj, jstring qualifiedName, jstring publicId, jstring systemId)
{
static DOM::DOMString* _domstring_qualifiedName = 0;
static DOM::DOMString* _domstring_publicId = 0;
static DOM::DOMString* _domstring_systemId = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DocumentType(((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->createDocumentType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, qualifiedName, &_domstring_qualifiedName), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, publicId, &_domstring_publicId), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, systemId, &_domstring_systemId))), "org.kde.koala.DocumentType", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_DOMImplementation_createDocument(JNIEnv* env, jobject obj, jstring namespaceURI, jstring qualifiedName, jobject doctype)
{
static DOM::DOMString* _domstring_namespaceURI = 0;
static DOM::DOMString* _domstring_qualifiedName = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Document(((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->createDocument((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, qualifiedName, &_domstring_qualifiedName), (const DOM::DocumentType&)*(const DOM::DocumentType*) QtSupport::getQt(env, doctype))), "org.kde.koala.Document", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_DOMImplementation_createHTMLDocument(JNIEnv* env, jobject obj, jstring title)
{
static DOM::DOMString* _domstring_title = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLDocument(((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->createHTMLDocument((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, title, &_domstring_title))), "org.kde.koala.HTMLDocument", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_DOMImplementation_getInterface(JNIEnv* env, jobject obj, jstring feature)
{
static DOM::DOMString* _domstring_feature = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DOMImplementation(((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->getInterface((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, feature, &_domstring_feature))), "org.kde.koala.DOMImplementation", TRUE);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_DOMImplementation_hasFeature(JNIEnv* env, jobject obj, jstring feature, jstring version)
{
static DOM::DOMString* _domstring_feature = 0;
static DOM::DOMString* _domstring_version = 0;
jboolean xret = (jboolean) ((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->hasFeature((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, feature, &_domstring_feature), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, version, &_domstring_version));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_DOMImplementation_isNull(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->isNull();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_DOMImplementation_newDOMImplementation__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new DOMImplementationJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_DOMImplementation_newDOMImplementation__Lorg_kde_koala_DOMImplementation_2(JNIEnv* env, jobject obj, jobject other)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new DOMImplementationJBridge((const DOM::DOMImplementation&)*(const DOM::DOMImplementation*) QtSupport::getQt(env, other)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
|