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

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

class QDomNodeJBridge : public QDomNode
{
public:
	QDomNodeJBridge() : QDomNode() {};
	QDomNodeJBridge(const QDomNode& arg1) : QDomNode(arg1) {};
	void public_normalize() {
		QDomNode::normalize();
		return;
	}
	~QDomNodeJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_appendChild(JNIEnv* env, jobject obj, jobject newChild)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNode*) QtSupport::getQt(env, obj))->appendChild((const QDomNode&)*(const QDomNode*) QtSupport::getQt(env, newChild))), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_attributes(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNamedNodeMap(((QDomNode*) QtSupport::getQt(env, obj))->attributes()), "org.kde.qt.QDomNamedNodeMap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_childNodes(JNIEnv* env, jobject obj)
{
	QDomNodeList  _qlist;
	_qlist = ((QDomNode*) QtSupport::getQt(env, obj))->childNodes();
	return (jobject) QtSupport::arrayWithQDomNodeList(env, (QDomNodeList*) &_qlist);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomNode_clear(JNIEnv* env, jobject obj)
{
	((QDomNode*) QtSupport::getQt(env, obj))->clear();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_cloneNode__(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNode*) QtSupport::getQt(env, obj))->cloneNode()), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_cloneNode__Z(JNIEnv* env, jobject obj, jboolean deep)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNode*) QtSupport::getQt(env, obj))->cloneNode((bool) deep)), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomNode_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QDomNode_finalize(env, obj);
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_firstChild(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNode*) QtSupport::getQt(env, obj))->firstChild()), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_hasAttributes(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->hasAttributes();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_hasChildNodes(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->hasChildNodes();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_insertAfter(JNIEnv* env, jobject obj, jobject newChild, jobject refChild)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNode*) QtSupport::getQt(env, obj))->insertAfter((const QDomNode&)*(const QDomNode*) QtSupport::getQt(env, newChild), (const QDomNode&)*(const QDomNode*) QtSupport::getQt(env, refChild))), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_insertBefore(JNIEnv* env, jobject obj, jobject newChild, jobject refChild)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNode*) QtSupport::getQt(env, obj))->insertBefore((const QDomNode&)*(const QDomNode*) QtSupport::getQt(env, newChild), (const QDomNode&)*(const QDomNode*) QtSupport::getQt(env, refChild))), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_isAttr(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->isAttr();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_isCDATASection(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->isCDATASection();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_isCharacterData(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->isCharacterData();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_isComment(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->isComment();
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_isDocumentFragment(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->isDocumentFragment();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_isDocumentType(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->isDocumentType();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_isDocument(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->isDocument();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_isElement(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->isElement();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_isEntityReference(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->isEntityReference();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_isEntity(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->isEntity();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_isNotation(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->isNotation();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_isNull(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->isNull();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_isProcessingInstruction(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->isProcessingInstruction();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_isSupported(JNIEnv* env, jobject obj, jstring feature, jstring version)
{
static QString* _qstring_feature = 0;
static QString* _qstring_version = 0;
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->isSupported((const QString&)*(QString*) QtSupport::toQString(env, feature, &_qstring_feature), (const QString&)*(QString*) QtSupport::toQString(env, version, &_qstring_version));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_isText(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->isText();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_lastChild(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNode*) QtSupport::getQt(env, obj))->lastChild()), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_namedItem(JNIEnv* env, jobject obj, jstring name)
{
static QString* _qstring_name = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNode*) QtSupport::getQt(env, obj))->namedItem((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name))), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomNode_newQDomNode__Lorg_kde_qt_QDomNode_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QDomNodeJBridge((const QDomNode&)*(const QDomNode*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_nextSibling(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNode*) QtSupport::getQt(env, obj))->nextSibling()), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QDomNode_nodeType(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QDomNode*) QtSupport::getQt(env, obj))->nodeType();
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomNode_normalize(JNIEnv* env, jobject obj)
{
	((QDomNodeJBridge*) QtSupport::getQt(env, obj))->public_normalize();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_op_1equals(JNIEnv* env, jobject obj, jobject arg1)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->operator==((const QDomNode&)*(const QDomNode*) QtSupport::getQt(env, arg1));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDomNode_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1)
{
	jboolean xret = (jboolean) ((QDomNode*) QtSupport::getQt(env, obj))->operator!=((const QDomNode&)*(const QDomNode*) QtSupport::getQt(env, arg1));
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_ownerDocument(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomDocument(((QDomNode*) QtSupport::getQt(env, obj))->ownerDocument()), "org.kde.qt.QDomDocument", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_parentNode(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNode*) QtSupport::getQt(env, obj))->parentNode()), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_previousSibling(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNode*) QtSupport::getQt(env, obj))->previousSibling()), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_removeChild(JNIEnv* env, jobject obj, jobject oldChild)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNode*) QtSupport::getQt(env, obj))->removeChild((const QDomNode&)*(const QDomNode*) QtSupport::getQt(env, oldChild))), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_replaceChild(JNIEnv* env, jobject obj, jobject newChild, jobject oldChild)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNode(((QDomNode*) QtSupport::getQt(env, obj))->replaceChild((const QDomNode&)*(const QDomNode*) QtSupport::getQt(env, newChild), (const QDomNode&)*(const QDomNode*) QtSupport::getQt(env, oldChild))), "org.kde.qt.QDomNode", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomNode_save(JNIEnv* env, jobject obj, jobject arg1, jint arg2)
{
	((QDomNode*) QtSupport::getQt(env, obj))->save((QTextStream&)*(QTextStream*) QtSupport::getQt(env, arg1), (int) arg2);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomNode_setNodeValue(JNIEnv* env, jobject obj, jstring arg1)
{
static QString* _qstring_arg1 = 0;
	((QDomNode*) QtSupport::getQt(env, obj))->setNodeValue((const QString&)*(QString*) QtSupport::toQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDomNode_setPrefix(JNIEnv* env, jobject obj, jstring pre)
{
static QString* _qstring_pre = 0;
	((QDomNode*) QtSupport::getQt(env, obj))->setPrefix((const QString&)*(QString*) QtSupport::toQString(env, pre, &_qstring_pre));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_toAttr(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomAttr(((QDomNode*) QtSupport::getQt(env, obj))->toAttr()), "org.kde.qt.QDomAttr", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_toCDATASection(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomCDATASection(((QDomNode*) QtSupport::getQt(env, obj))->toCDATASection()), "org.kde.qt.QDomCDATASection", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_toCharacterData(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomCharacterData(((QDomNode*) QtSupport::getQt(env, obj))->toCharacterData()), "org.kde.qt.QDomCharacterData", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_toComment(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomComment(((QDomNode*) QtSupport::getQt(env, obj))->toComment()), "org.kde.qt.QDomComment", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_toDocumentFragment(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomDocumentFragment(((QDomNode*) QtSupport::getQt(env, obj))->toDocumentFragment()), "org.kde.qt.QDomDocumentFragment", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_toDocumentType(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomDocumentType(((QDomNode*) QtSupport::getQt(env, obj))->toDocumentType()), "org.kde.qt.QDomDocumentType", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_toDocument(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomDocument(((QDomNode*) QtSupport::getQt(env, obj))->toDocument()), "org.kde.qt.QDomDocument", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_toElement(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomElement(((QDomNode*) QtSupport::getQt(env, obj))->toElement()), "org.kde.qt.QDomElement", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_toEntityReference(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomEntityReference(((QDomNode*) QtSupport::getQt(env, obj))->toEntityReference()), "org.kde.qt.QDomEntityReference", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_toEntity(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomEntity(((QDomNode*) QtSupport::getQt(env, obj))->toEntity()), "org.kde.qt.QDomEntity", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_toNotation(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomNotation(((QDomNode*) QtSupport::getQt(env, obj))->toNotation()), "org.kde.qt.QDomNotation", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_toProcessingInstruction(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomProcessingInstruction(((QDomNode*) QtSupport::getQt(env, obj))->toProcessingInstruction()), "org.kde.qt.QDomProcessingInstruction", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDomNode_toText(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QDomText(((QDomNode*) QtSupport::getQt(env, obj))->toText()), "org.kde.qt.QDomText", TRUE);
	return xret;
}

