io.qt.core.QXmlStreamNamespaceDeclaration Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.core;
import io.qt.*;
/**
* Represents a namespace declaration
* Java wrapper for Qt class QXmlStreamNamespaceDeclaration
*/
public class QXmlStreamNamespaceDeclaration extends 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.@NonNull String prefix, java.lang.@NonNull 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:: QXmlStreamNamespaceDeclaration(QXmlStreamNamespaceDeclaration)
*/
public QXmlStreamNamespaceDeclaration(io.qt.core.@NonNull QXmlStreamNamespaceDeclaration other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QXmlStreamNamespaceDeclaration instance, io.qt.core.QXmlStreamNamespaceDeclaration other);
/**
* See QXmlStreamNamespaceDeclaration:: namespaceUri()const
*/
@QtUninvokable
public final java.lang.@NonNull String namespaceUri(){
return namespaceUri_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String namespaceUri_native_constfct(long __this__nativeId);
/**
* See QXmlStreamNamespaceDeclaration:: operator==(QXmlStreamNamespaceDeclaration)const
*/
@QtUninvokable
public final boolean equals(io.qt.core.@NonNull QXmlStreamNamespaceDeclaration other){
return equals_native_cref_QXmlStreamNamespaceDeclaration_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native boolean equals_native_cref_QXmlStreamNamespaceDeclaration_constfct(long __this__nativeId, long other);
/**
* See QXmlStreamNamespaceDeclaration:: prefix()const
*/
@QtUninvokable
public final java.lang.@NonNull String prefix(){
return prefix_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String prefix_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QXmlStreamNamespaceDeclaration(QPrivateConstructor p) { super(p); }
/**
* See QXmlStreamNamespaceDeclaration:: operator==(QXmlStreamNamespaceDeclaration)const
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.core.QXmlStreamNamespaceDeclaration) {
return equals((io.qt.core.QXmlStreamNamespaceDeclaration) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QXmlStreamNamespaceDeclaration)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QXmlStreamNamespaceDeclaration:: QXmlStreamNamespaceDeclaration(QXmlStreamNamespaceDeclaration)
*/
@QtUninvokable
@Override
public QXmlStreamNamespaceDeclaration clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QXmlStreamNamespaceDeclaration clone_native(long __this_nativeId);
}