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

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

class HTMLScriptElementJBridge : public DOM::HTMLScriptElement
{
public:
	HTMLScriptElementJBridge() : DOM::HTMLScriptElement() {};
	HTMLScriptElementJBridge(const DOM::HTMLScriptElement& arg1) : DOM::HTMLScriptElement(arg1) {};
	HTMLScriptElementJBridge(const DOM::Node& arg1) : DOM::HTMLScriptElement(arg1) {};
};

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_HTMLScriptElement_defer(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->defer();
	return xret;
}

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

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLScriptElement_newHTMLScriptElement__Lorg_trinitydesktop_koala_Node_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new HTMLScriptElementJBridge((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_HTMLScriptElement_setCharset(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
	((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setCharset((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLScriptElement_setDefer(JNIEnv* env, jobject obj, jboolean arg1)
{
	((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setDefer((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLScriptElement_setEvent(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
	((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setEvent((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLScriptElement_setHtmlFor(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
	((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setHtmlFor((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLScriptElement_setSrc(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
	((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setSrc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLScriptElement_setText(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
	((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLScriptElement_setType(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
	((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
	return;
}

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

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

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

