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

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlEntityResolver_resolveEntity(JNIEnv* env, jobject obj, jstring publicId, jstring systemId, jobject ret)
{
static QString* _qstring_publicId = 0;
static QString* _qstring_systemId = 0;
	jboolean xret = (jboolean) ((QXmlEntityResolver*) QtSupport::getQt(env, obj))->resolveEntity((const QString&)*(QString*) QtSupport::toQString(env, publicId, &_qstring_publicId), (const QString&)*(QString*) QtSupport::toQString(env, systemId, &_qstring_systemId), (QXmlInputSource*&)*(QXmlInputSource*) QtSupport::getQt(env, ret));
	return xret;
}

