
io.qt.core.QXmlStreamNamespaceDeclaration Maven / Gradle / Ivy
package io.qt.core;
/**
* Represents a namespace declaration
* Java wrapper for Qt class QXmlStreamNamespaceDeclaration
*/
public class QXmlStreamNamespaceDeclaration extends io.qt.QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration()
*/
public QXmlStreamNamespaceDeclaration(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QXmlStreamNamespaceDeclaration instance);
/**
* See QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration(QString,QString)
*/
public QXmlStreamNamespaceDeclaration(java.lang.String prefix, java.lang.String namespaceUri){
super((QPrivateConstructor)null);
initialize_native(this, prefix, namespaceUri);
}
private native static void initialize_native(QXmlStreamNamespaceDeclaration instance, java.lang.String prefix, java.lang.String namespaceUri);
/**
* See QXmlStreamNamespaceDeclaration::namespaceUri()const
*/
@io.qt.QtUninvokable
public final java.lang.String namespaceUri(){
return namespaceUri_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String namespaceUri_native_constfct(long __this__nativeId);
/**
* See QXmlStreamNamespaceDeclaration::operator==(QXmlStreamNamespaceDeclaration)const
*/
@io.qt.QtUninvokable
private final boolean operator_equal(io.qt.core.QXmlStreamNamespaceDeclaration other){
return operator_equal_native_cref_QXmlStreamNamespaceDeclaration_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native boolean operator_equal_native_cref_QXmlStreamNamespaceDeclaration_constfct(long __this__nativeId, long other);
/**
* See QXmlStreamNamespaceDeclaration::prefix()const
*/
@io.qt.QtUninvokable
public final java.lang.String prefix(){
return prefix_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String prefix_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QXmlStreamNamespaceDeclaration(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.core.QXmlStreamNamespaceDeclaration) {
return operator_equal((io.qt.core.QXmlStreamNamespaceDeclaration) other);
}
return false;
}
@io.qt.QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native static int hashCode_native(long __this_nativeId);
@Override
public QXmlStreamNamespaceDeclaration clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QXmlStreamNamespaceDeclaration clone_native(long __this_nativeId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy