//Auto-generated by kalyptus. DO NOT EDIT.
#include <qstring.h>
#include <qdom.h>
#include <qcstring.h>

#include <qtjava/QtSupport.h>
#include <qtjava/QDomDocument.h>

class QDomDocumentJBridge : public QDomDocument
{
public:
	QDomDocumentJBridge() : QDomDocument() {};
	QDomDocumentJBridge(const QString& arg1) : QDomDocument(arg1) {};
	QDomDocumentJBridge(const QDomDocumentType& arg1) : QDomDocument(arg1) {};
	QDomDocumentJBridge(const QDomDocument& arg1) : QDomDocument(arg1) {};
	~QDomDocumentJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createAttributeNS(JNIEnv* env, jobject obj, jstring nsURI, jstring qName)
{
static QString* _qstring_nsURI = 0;
static QString* _qstring_qName = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomAttr(((QDomDocument*) QtSupport::getQt(env, obj))->createAttributeNS((const QString&)*(QString*) QtSupport::toQString(env, nsURI, &_qstring_nsURI), (const QString&)*(QString*) QtSupport::toQString(env, qName, &_qstring_qName))), "org.kde.qt.QDomAttr", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createAttribute(JNIEnv* env, jobject obj, jstring name)
{
static QString* _qstring_name = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomAttr(((QDomDocument*) QtSupport::getQt(env, obj))->createAttribute((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name))), "org.kde.qt.QDomAttr", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createCDATASection(JNIEnv* env, jobject obj, jstring data)
{
static QString* _qstring_data = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomCDATASection(((QDomDocument*) QtSupport::getQt(env, obj))->createCDATASection((const QString&)*(QString*) QtSupport::toQString(env, data, &_qstring_data))), "org.kde.qt.QDomCDATASection", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createComment(JNIEnv* env, jobject obj, jstring data)
{
static QString* _qstring_data = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomComment(((QDomDocument*) QtSupport::getQt(env, obj))->createComment((const QString&)*(QString*) QtSupport::toQString(env, data, &_qstring_data))), "org.kde.qt.QDomComment", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createDocumentFragment(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomDocumentFragment(((QDomDocument*) QtSupport::getQt(env, obj))->createDocumentFragment()), "org.kde.qt.QDomDocumentFragment", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createElementNS(JNIEnv* env, jobject obj, jstring nsURI, jstring qName)
{
static QString* _qstring_nsURI = 0;
static QString* _qstring_qName = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomElement(((QDomDocument*) QtSupport::getQt(env, obj))->createElementNS((const QString&)*(QString*) QtSupport::toQString(env, nsURI, &_qstring_nsURI), (const QString&)*(QString*) QtSupport::toQString(env, qName, &_qstring_qName))), "org.kde.qt.QDomElement", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createElement(JNIEnv* env, jobject obj, jstring tagName)
{
static QString* _qstring_tagName = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomElement(((QDomDocument*) QtSupport::getQt(env, obj))->createElement((const QString&)*(QString*) QtSupport::toQString(env, tagName, &_qstring_tagName))), "org.kde.qt.QDomElement", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createEntityReference(JNIEnv* env, jobject obj, jstring name)
{
static QString* _qstring_name = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomEntityReference(((QDomDocument*) QtSupport::getQt(env, obj))->createEntityReference((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name))), "org.kde.qt.QDomEntityReference", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createProcessingInstruction(JNIEnv* env, jobject obj, jstring target, jstring data)
{
static QString* _qstring_target = 0;
static QString* _qstring_data = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomProcessingInstruction(((QDomDocument*) QtSupport::getQt(env, obj))->createProcessingInstruction((const QString&)*(QString*) QtSupport::toQString(env, target, &_qstring_target), (const QString&)*(QString*) QtSupport::toQString(env, data, &_qstring_data))), "org.kde.qt.QDomProcessingInstruction", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_createTextNode(JNIEnv* env, jobject obj, jstring data)
{
static QString* _qstring_data = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomText(((QDomDocument*) QtSupport::getQt(env, obj))->createTextNode((const QString&)*(QString*) QtSupport::toQString(env, data, &_qstring_data))), "org.kde.qt.QDomText", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomDocument_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QDomDocument_finalize(env, obj);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_doctype(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomDocumentType(((QDomDocument*) QtSupport::getQt(env, obj))->doctype()), "org.kde.qt.QDomDocumentType", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_documentElement(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomElement(((QDomDocument*) QtSupport::getQt(env, obj))->documentElement()), "org.kde.qt.QDomElement", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_elementById(JNIEnv* env, jobject obj, jstring elementId)
{
static QString* _qstring_elementId = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomElement(((QDomDocument*) QtSupport::getQt(env, obj))->elementById((const QString&)*(QString*) QtSupport::toQString(env, elementId, &_qstring_elementId))), "org.kde.qt.QDomElement", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_elementsByTagNameNS(JNIEnv* env, jobject obj, jstring nsURI, jstring localName)
{
	QDomNodeList  _qlist;
static QString* _qstring_nsURI = 0;
static QString* _qstring_localName = 0;
	_qlist = ((QDomDocument*) QtSupport::getQt(env, obj))->elementsByTagNameNS((const QString&)*(QString*) QtSupport::toQString(env, nsURI, &_qstring_nsURI), (const QString&)*(QString*) QtSupport::toQString(env, localName, &_qstring_localName));
	return (jobject) QtSupport::arrayWithQDomNodeList(env, (QDomNodeList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_elementsByTagName(JNIEnv* env, jobject obj, jstring tagname)
{
	QDomNodeList  _qlist;
static QString* _qstring_tagname = 0;
	_qlist = ((QDomDocument*) QtSupport::getQt(env, obj))->elementsByTagName((const QString&)*(QString*) QtSupport::toQString(env, tagname, &_qstring_tagname));
	return (jobject) QtSupport::arrayWithQDomNodeList(env, (QDomNodeList*) &_qlist);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomDocument_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj)) {
		delete (QDomDocument*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_implementation(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomImplementation(((QDomDocument*) QtSupport::getQt(env, obj))->implementation()), "org.kde.qt.QDomImplementation", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomDocument_importNode(JNIEnv* env, jobject obj, jobject importedNode, jboolean deep)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomDocument*) QtSupport::getQt(env, obj))->importNode((const QDomNode&)*(const QDomNode*) QtSupport::getQt(env, importedNode), (bool) deep)), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_isDocument(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->isDocument();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomDocument_newQDomDocument__(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QDomDocumentJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomDocument_newQDomDocument__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
{
static QString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QDomDocumentJBridge((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomDocument_newQDomDocument__Lorg_kde_qt_QDomDocumentType_2(JNIEnv* env, jobject obj, jobject doctype)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QDomDocumentJBridge((const QDomDocumentType&)*(const QDomDocumentType*) QtSupport::getQt(env, doctype)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomDocument_newQDomDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jobject obj, jobject x)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QDomDocumentJBridge((const QDomDocument&)*(const QDomDocument*) QtSupport::getQt(env, x)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QDomDocument_nodeType(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QDomDocument*) QtSupport::getQt(env, obj))->nodeType();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text)
{
static QCString* _qcstring_text = 0;
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QCString&)*(QCString*) QtSupport::toQCString(env, text, &_qcstring_text));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring text, jobject errorMsg)
{
static QCString* _qcstring_text = 0;
static QString* _qstring_errorMsg = 0;
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QCString&)*(QCString*) QtSupport::toQCString(env, text, &_qcstring_text), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jstring text, jobject errorMsg, jintArray errorLine)
{
static QCString* _qcstring_text = 0;
static QString* _qstring_errorMsg = 0;
	int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QCString&)*(QCString*) QtSupport::toQCString(env, text, &_qcstring_text), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg),  (int*) _int_errorLine);
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jstring text, jobject errorMsg, jintArray errorLine, jintArray errorColumn)
{
static QCString* _qcstring_text = 0;
static QString* _qstring_errorMsg = 0;
	int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
	int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn);
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QCString&)*(QCString*) QtSupport::toQCString(env, text, &_qcstring_text), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg),  (int*) _int_errorLine,  (int*) _int_errorColumn);
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
	env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jboolean namespaceProcessing)
{
static QCString* _qcstring_text = 0;
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QCString&)*(QCString*) QtSupport::toQCString(env, text, &_qcstring_text), (bool) namespaceProcessing);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring text, jboolean namespaceProcessing, jobject errorMsg)
{
static QCString* _qcstring_text = 0;
static QString* _qstring_errorMsg = 0;
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QCString&)*(QCString*) QtSupport::toQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jstring text, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine)
{
static QCString* _qcstring_text = 0;
static QString* _qstring_errorMsg = 0;
	int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QCString&)*(QCString*) QtSupport::toQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg),  (int*) _int_errorLine);
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Ljava_lang_String_2ZLjava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jstring text, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine, jintArray errorColumn)
{
static QCString* _qcstring_text = 0;
static QString* _qstring_errorMsg = 0;
	int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
	int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn);
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QCString&)*(QCString*) QtSupport::toQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg),  (int*) _int_errorLine,  (int*) _int_errorColumn);
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
	env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev)
{
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QIODevice*) QtSupport::getQt(env, dev));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject dev, jobject errorMsg)
{
static QString* _qstring_errorMsg = 0;
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QIODevice*) QtSupport::getQt(env, dev), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jobject dev, jobject errorMsg, jintArray errorLine)
{
static QString* _qstring_errorMsg = 0;
	int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QIODevice*) QtSupport::getQt(env, dev), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg),  (int*) _int_errorLine);
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jobject dev, jobject errorMsg, jintArray errorLine, jintArray errorColumn)
{
static QString* _qstring_errorMsg = 0;
	int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
	int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn);
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QIODevice*) QtSupport::getQt(env, dev), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg),  (int*) _int_errorLine,  (int*) _int_errorColumn);
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
	env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2Z(JNIEnv* env, jobject obj, jobject dev, jboolean namespaceProcessing)
{
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject dev, jboolean namespaceProcessing, jobject errorMsg)
{
static QString* _qstring_errorMsg = 0;
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jobject dev, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine)
{
static QString* _qstring_errorMsg = 0;
	int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg),  (int*) _int_errorLine);
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QIODeviceInterface_2ZLjava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jobject dev, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine, jintArray errorColumn)
{
static QString* _qstring_errorMsg = 0;
	int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
	int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn);
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg),  (int*) _int_errorLine,  (int*) _int_errorColumn);
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
	env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2(JNIEnv* env, jobject obj, jobject source, jobject reader)
{
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QXmlInputSource*) QtSupport::getQt(env, source), (QXmlReader*) QtSupport::getQt(env, reader));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject source, jobject reader, jobject errorMsg)
{
static QString* _qstring_errorMsg = 0;
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QXmlInputSource*) QtSupport::getQt(env, source), (QXmlReader*) QtSupport::getQt(env, reader), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jobject source, jobject reader, jobject errorMsg, jintArray errorLine)
{
static QString* _qstring_errorMsg = 0;
	int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QXmlInputSource*) QtSupport::getQt(env, source), (QXmlReader*) QtSupport::getQt(env, reader), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg),  (int*) _int_errorLine);
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent__Lorg_kde_qt_QXmlInputSource_2Lorg_kde_qt_QXmlReader_2Ljava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jobject source, jobject reader, jobject errorMsg, jintArray errorLine, jintArray errorColumn)
{
static QString* _qstring_errorMsg = 0;
	int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
	int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn);
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((QXmlInputSource*) QtSupport::getQt(env, source), (QXmlReader*) QtSupport::getQt(env, reader), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg),  (int*) _int_errorLine,  (int*) _int_errorColumn);
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
	env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3B(JNIEnv* env, jobject obj, jbyteArray text)
{
static QByteArray* _qbyteArray_text = 0;
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jbyteArray text, jobject errorMsg)
{
static QByteArray* _qbyteArray_text = 0;
static QString* _qstring_errorMsg = 0;
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jbyteArray text, jobject errorMsg, jintArray errorLine)
{
static QByteArray* _qbyteArray_text = 0;
static QString* _qstring_errorMsg = 0;
	int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg),  (int*) _int_errorLine);
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3BLjava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jbyteArray text, jobject errorMsg, jintArray errorLine, jintArray errorColumn)
{
static QByteArray* _qbyteArray_text = 0;
static QString* _qstring_errorMsg = 0;
	int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
	int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn);
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg),  (int*) _int_errorLine,  (int*) _int_errorColumn);
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
	env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3BZ(JNIEnv* env, jobject obj, jbyteArray text, jboolean namespaceProcessing)
{
static QByteArray* _qbyteArray_text = 0;
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jbyteArray text, jboolean namespaceProcessing, jobject errorMsg)
{
static QByteArray* _qbyteArray_text = 0;
static QString* _qstring_errorMsg = 0;
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg));
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2_3I(JNIEnv* env, jobject obj, jbyteArray text, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine)
{
static QByteArray* _qbyteArray_text = 0;
static QString* _qstring_errorMsg = 0;
	int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg),  (int*) _int_errorLine);
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomDocument_setContent___3BZLjava_lang_StringBuffer_2_3I_3I(JNIEnv* env, jobject obj, jbyteArray text, jboolean namespaceProcessing, jobject errorMsg, jintArray errorLine, jintArray errorColumn)
{
static QByteArray* _qbyteArray_text = 0;
static QString* _qstring_errorMsg = 0;
	int* _int_errorLine = QtSupport::toIntPtr(env, errorLine);
	int* _int_errorColumn = QtSupport::toIntPtr(env, errorColumn);
	jboolean xret = (jboolean) ((QDomDocument*) QtSupport::getQt(env, obj))->setContent((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (QString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg),  (int*) _int_errorLine,  (int*) _int_errorColumn);
	QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg);
	env->SetIntArrayRegion(errorLine, 0, 1, (jint *) _int_errorLine);
	env->SetIntArrayRegion(errorColumn, 0, 1, (jint *) _int_errorColumn);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDomDocument_toCString__(JNIEnv* env, jobject obj)
{
	QCString  _qstring;
	_qstring = ((QDomDocument*) QtSupport::getQt(env, obj))->toCString();
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDomDocument_toCString__I(JNIEnv* env, jobject obj, jint arg1)
{
	QCString  _qstring;
	_qstring = ((QDomDocument*) QtSupport::getQt(env, obj))->toCString((int) arg1);
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDomDocument_toString__(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QDomDocument*) QtSupport::getQt(env, obj))->toString();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDomDocument_toString__I(JNIEnv* env, jobject obj, jint arg1)
{
	QString  _qstring;
	_qstring = ((QDomDocument*) QtSupport::getQt(env, obj))->toString((int) arg1);
	return QtSupport::fromQString(env, &_qstring);
}

