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

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlContentHandler_endDocument(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QXmlContentHandler*) QtSupport::getQt(env, obj))->endDocument();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlContentHandler_endElement(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName, jstring qName)
{
static QString* _qstring_namespaceURI = 0;
static QString* _qstring_localName = 0;
static QString* _qstring_qName = 0;
	jboolean xret = (jboolean) ((QXmlContentHandler*) QtSupport::getQt(env, obj))->endElement((const QString&)*(QString*) QtSupport::toQString(env, namespaceURI, &_qstring_namespaceURI), (const QString&)*(QString*) QtSupport::toQString(env, localName, &_qstring_localName), (const QString&)*(QString*) QtSupport::toQString(env, qName, &_qstring_qName));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlContentHandler_endPrefixMapping(JNIEnv* env, jobject obj, jstring prefix)
{
static QString* _qstring_prefix = 0;
	jboolean xret = (jboolean) ((QXmlContentHandler*) QtSupport::getQt(env, obj))->endPrefixMapping((const QString&)*(QString*) QtSupport::toQString(env, prefix, &_qstring_prefix));
	return xret;
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlContentHandler_processingInstruction(JNIEnv* env, jobject obj, jstring target, jstring data)
{
static QString* _qstring_target = 0;
static QString* _qstring_data = 0;
	jboolean xret = (jboolean) ((QXmlContentHandler*) QtSupport::getQt(env, obj))->processingInstruction((const QString&)*(QString*) QtSupport::toQString(env, target, &_qstring_target), (const QString&)*(QString*) QtSupport::toQString(env, data, &_qstring_data));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QXmlContentHandler_setDocumentLocator(JNIEnv* env, jobject obj, jobject locator)
{
	((QXmlContentHandler*) QtSupport::getQt(env, obj))->setDocumentLocator((QXmlLocator*) QtSupport::getQt(env, locator));
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlContentHandler_startDocument(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QXmlContentHandler*) QtSupport::getQt(env, obj))->startDocument();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlContentHandler_startElement(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName, jstring qName, jobject atts)
{
static QString* _qstring_namespaceURI = 0;
static QString* _qstring_localName = 0;
static QString* _qstring_qName = 0;
	jboolean xret = (jboolean) ((QXmlContentHandler*) QtSupport::getQt(env, obj))->startElement((const QString&)*(QString*) QtSupport::toQString(env, namespaceURI, &_qstring_namespaceURI), (const QString&)*(QString*) QtSupport::toQString(env, localName, &_qstring_localName), (const QString&)*(QString*) QtSupport::toQString(env, qName, &_qstring_qName), (const QXmlAttributes&)*(const QXmlAttributes*) QtSupport::getQt(env, atts));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlContentHandler_startPrefixMapping(JNIEnv* env, jobject obj, jstring prefix, jstring uri)
{
static QString* _qstring_prefix = 0;
static QString* _qstring_uri = 0;
	jboolean xret = (jboolean) ((QXmlContentHandler*) QtSupport::getQt(env, obj))->startPrefixMapping((const QString&)*(QString*) QtSupport::toQString(env, prefix, &_qstring_prefix), (const QString&)*(QString*) QtSupport::toQString(env, uri, &_qstring_uri));
	return xret;
}

