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

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

class NotationJBridge : public DOM::Notation
{
public:
	NotationJBridge() : DOM::Notation() {};
	NotationJBridge(const DOM::Notation& arg1) : DOM::Notation(arg1) {};
	NotationJBridge(const DOM::Node& arg1) : DOM::Notation(arg1) {};
};

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

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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_Notation_publicId(JNIEnv* env, jobject obj)
{
	DOM::DOMString  _qstring;
	_qstring = ((DOM::Notation*) QtSupport::getQt(env, obj))->publicId();
	return KDESupport::fromDOMString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_Notation_systemId(JNIEnv* env, jobject obj)
{
	DOM::DOMString  _qstring;
	_qstring = ((DOM::Notation*) QtSupport::getQt(env, obj))->systemId();
	return KDESupport::fromDOMString(env, &_qstring);
}

