//Auto-generated by kalyptus. DO NOT EDIT.
#include <dom/dom_node.h>
#include <dom/dom_doc.h>

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/DocumentFragment.h>

class DocumentFragmentJBridge : public DOM::DocumentFragment
{
public:
	DocumentFragmentJBridge() : DOM::DocumentFragment() {};
	DocumentFragmentJBridge(const DOM::DocumentFragment& arg1) : DOM::DocumentFragment(arg1) {};
	DocumentFragmentJBridge(const DOM::Node& arg1) : DOM::DocumentFragment(arg1) {};
};

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_DocumentFragment_newDocumentFragment__Lorg_trinitydesktop_koala_DocumentFragment_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new DocumentFragmentJBridge((const DOM::DocumentFragment&)*(const DOM::DocumentFragment*) QtSupport::getQt(env, other)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_DocumentFragment_newDocumentFragment__Lorg_trinitydesktop_koala_Node_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new DocumentFragmentJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

