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

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

class EntityReferenceJBridge : public DOM::EntityReference
{
public:
	EntityReferenceJBridge() : DOM::EntityReference() {};
	EntityReferenceJBridge(const DOM::EntityReference& arg1) : DOM::EntityReference(arg1) {};
	EntityReferenceJBridge(const DOM::Node& arg1) : DOM::EntityReference(arg1) {};
};

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

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

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

