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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlDeclHandler_attributeDecl(JNIEnv* env, jobject obj, jstring eName, jstring aName, jstring type, jstring valueDefault, jstring value)
{
static QString* _qstring_eName = 0;
static QString* _qstring_aName = 0;
static QString* _qstring_type = 0;
static QString* _qstring_valueDefault = 0;
static QString* _qstring_value = 0;
	jboolean xret = (jboolean) ((QXmlDeclHandler*) QtSupport::getQt(env, obj))->attributeDecl((const QString&)*(QString*) QtSupport::toQString(env, eName, &_qstring_eName), (const QString&)*(QString*) QtSupport::toQString(env, aName, &_qstring_aName), (const QString&)*(QString*) QtSupport::toQString(env, type, &_qstring_type), (const QString&)*(QString*) QtSupport::toQString(env, valueDefault, &_qstring_valueDefault), (const QString&)*(QString*) QtSupport::toQString(env, value, &_qstring_value));
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlDeclHandler_externalEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId)
{
static QString* _qstring_name = 0;
static QString* _qstring_publicId = 0;
static QString* _qstring_systemId = 0;
	jboolean xret = (jboolean) ((QXmlDeclHandler*) QtSupport::getQt(env, obj))->externalEntityDecl((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, publicId, &_qstring_publicId), (const QString&)*(QString*) QtSupport::toQString(env, systemId, &_qstring_systemId));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlDeclHandler_internalEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring value)
{
static QString* _qstring_name = 0;
static QString* _qstring_value = 0;
	jboolean xret = (jboolean) ((QXmlDeclHandler*) QtSupport::getQt(env, obj))->internalEntityDecl((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, value, &_qstring_value));
	return xret;
}

