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

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

class QXmlDefaultHandlerJBridge : public QXmlDefaultHandler
{
public:
	QXmlDefaultHandlerJBridge() : QXmlDefaultHandler() {};
	~QXmlDefaultHandlerJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlDefaultHandler_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) ((QXmlDefaultHandler*) 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 jboolean JNICALL
Java_org_kde_qt_QXmlDefaultHandler_characters(JNIEnv* env, jobject obj, jstring ch)
{
static QString* _qstring_ch = 0;
	jboolean xret = (jboolean) ((QXmlDefaultHandler*) QtSupport::getQt(env, obj))->characters((const QString&)*(QString*) QtSupport::toQString(env, ch, &_qstring_ch));
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QXmlDefaultHandler_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QXmlDefaultHandler_finalize(env, obj);
	return;
}

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

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

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

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

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlDefaultHandler_error(JNIEnv* env, jobject obj, jobject exception)
{
	jboolean xret = (jboolean) ((QXmlDefaultHandler*) QtSupport::getQt(env, obj))->error((const QXmlParseException&)*(const QXmlParseException*) QtSupport::getQt(env, exception));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlDefaultHandler_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) ((QXmlDefaultHandler*) 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_QXmlDefaultHandler_fatalError(JNIEnv* env, jobject obj, jobject exception)
{
	jboolean xret = (jboolean) ((QXmlDefaultHandler*) QtSupport::getQt(env, obj))->fatalError((const QXmlParseException&)*(const QXmlParseException*) QtSupport::getQt(env, exception));
	return xret;
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlDefaultHandler_internalEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring value)
{
static QString* _qstring_name = 0;
static QString* _qstring_value = 0;
	jboolean xret = (jboolean) ((QXmlDefaultHandler*) 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;
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlDefaultHandler_notationDecl(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) ((QXmlDefaultHandler*) QtSupport::getQt(env, obj))->notationDecl((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_QXmlDefaultHandler_processingInstruction(JNIEnv* env, jobject obj, jstring target, jstring data)
{
static QString* _qstring_target = 0;
static QString* _qstring_data = 0;
	jboolean xret = (jboolean) ((QXmlDefaultHandler*) 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 jboolean JNICALL
Java_org_kde_qt_QXmlDefaultHandler_resolveEntity(JNIEnv* env, jobject obj, jstring publicId, jstring systemId, jobject ret)
{
static QString* _qstring_publicId = 0;
static QString* _qstring_systemId = 0;
	jboolean xret = (jboolean) ((QXmlDefaultHandler*) 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;
}

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

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlDefaultHandler_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) ((QXmlDefaultHandler*) 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_QXmlDefaultHandler_startDocument(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QXmlDefaultHandler*) QtSupport::getQt(env, obj))->startDocument();
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlDefaultHandler_startPrefixMapping(JNIEnv* env, jobject obj, jstring prefix, jstring uri)
{
static QString* _qstring_prefix = 0;
static QString* _qstring_uri = 0;
	jboolean xret = (jboolean) ((QXmlDefaultHandler*) 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;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlDefaultHandler_unparsedEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId, jstring notationName)
{
static QString* _qstring_name = 0;
static QString* _qstring_publicId = 0;
static QString* _qstring_systemId = 0;
static QString* _qstring_notationName = 0;
	jboolean xret = (jboolean) ((QXmlDefaultHandler*) QtSupport::getQt(env, obj))->unparsedEntityDecl((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), (const QString&)*(QString*) QtSupport::toQString(env, notationName, &_qstring_notationName));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlDefaultHandler_warning(JNIEnv* env, jobject obj, jobject exception)
{
	jboolean xret = (jboolean) ((QXmlDefaultHandler*) QtSupport::getQt(env, obj))->warning((const QXmlParseException&)*(const QXmlParseException*) QtSupport::getQt(env, exception));
	return xret;
}

