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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlLexicalHandler_comment(JNIEnv* env, jobject obj, jstring ch)
{
static QString* _qstring_ch = 0;
	jboolean xret = (jboolean) ((QXmlLexicalHandler*) QtSupport::getQt(env, obj))->comment((const QString&)*(QString*) QtSupport::toQString(env, ch, &_qstring_ch));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlLexicalHandler_endCDATA(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QXmlLexicalHandler*) QtSupport::getQt(env, obj))->endCDATA();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlLexicalHandler_endDTD(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QXmlLexicalHandler*) QtSupport::getQt(env, obj))->endDTD();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlLexicalHandler_endEntity(JNIEnv* env, jobject obj, jstring name)
{
static QString* _qstring_name = 0;
	jboolean xret = (jboolean) ((QXmlLexicalHandler*) QtSupport::getQt(env, obj))->endEntity((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name));
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlLexicalHandler_startCDATA(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QXmlLexicalHandler*) QtSupport::getQt(env, obj))->startCDATA();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlLexicalHandler_startDTD(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) ((QXmlLexicalHandler*) QtSupport::getQt(env, obj))->startDTD((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_QXmlLexicalHandler_startEntity(JNIEnv* env, jobject obj, jstring name)
{
static QString* _qstring_name = 0;
	jboolean xret = (jboolean) ((QXmlLexicalHandler*) QtSupport::getQt(env, obj))->startEntity((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name));
	return xret;
}

