You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/kdejava/koala/kdejava/DocumentType.cpp

94 lines
3.1 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
#include <dom/dom_string.h>
#include <dom/dom_node.h>
#include <dom/dom_doc.h>
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/DocumentType.h>
class DocumentTypeJBridge : public DOM::DocumentType
{
public:
DocumentTypeJBridge() : DOM::DocumentType() {};
DocumentTypeJBridge(const DOM::DocumentType& arg1) : DOM::DocumentType(arg1) {};
DocumentTypeJBridge(const DOM::Node& arg1) : DOM::DocumentType(arg1) {};
};
JNIEXPORT jobject JNICALL
Java_org_kde_koala_DocumentType_entities(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::NamedNodeMap(((DOM::DocumentType*) QtSupport::getQt(env, obj))->entities()), "org.kde.koala.NamedNodeMap", TRUE);
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_DocumentType_internalSubset(JNIEnv* env, jobject obj)
{
DOM::DOMString _qstring;
_qstring = ((DOM::DocumentType*) QtSupport::getQt(env, obj))->internalSubset();
return KDESupport::fromDOMString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_DocumentType_name(JNIEnv* env, jobject obj)
{
DOM::DOMString _qstring;
_qstring = ((DOM::DocumentType*) QtSupport::getQt(env, obj))->name();
return KDESupport::fromDOMString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_koala_DocumentType_newDocumentType__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new DocumentTypeJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_DocumentType_newDocumentType__Lorg_kde_koala_DocumentType_2(JNIEnv* env, jobject obj, jobject other)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new DocumentTypeJBridge((const DOM::DocumentType&)*(const DOM::DocumentType*) QtSupport::getQt(env, other)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_DocumentType_newDocumentType__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new DocumentTypeJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_DocumentType_notations(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::NamedNodeMap(((DOM::DocumentType*) QtSupport::getQt(env, obj))->notations()), "org.kde.koala.NamedNodeMap", TRUE);
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_DocumentType_publicId(JNIEnv* env, jobject obj)
{
DOM::DOMString _qstring;
_qstring = ((DOM::DocumentType*) QtSupport::getQt(env, obj))->publicId();
return KDESupport::fromDOMString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_DocumentType_systemId(JNIEnv* env, jobject obj)
{
DOM::DOMString _qstring;
_qstring = ((DOM::DocumentType*) QtSupport::getQt(env, obj))->systemId();
return KDESupport::fromDOMString(env, &_qstring);
}