io.qt.core.QXmlStreamAttribute Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.core;
import io.qt.*;
/**
* Represents a single XML attribute
* Java wrapper for Qt class QXmlStreamAttribute
*/
public class QXmlStreamAttribute extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QXmlStreamAttribute:: QXmlStreamAttribute()
*/
public QXmlStreamAttribute(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QXmlStreamAttribute instance);
/**
* See QXmlStreamAttribute:: QXmlStreamAttribute(QString, QString)
*/
public QXmlStreamAttribute(java.lang.@NonNull String qualifiedName, java.lang.@NonNull String value){
super((QPrivateConstructor)null);
initialize_native(this, qualifiedName, value);
}
private native static void initialize_native(QXmlStreamAttribute instance, java.lang.String qualifiedName, java.lang.String value);
/**
* See QXmlStreamAttribute:: QXmlStreamAttribute(QString, QString, QString)
*/
public QXmlStreamAttribute(java.lang.@NonNull String namespaceUri, java.lang.@NonNull String name, java.lang.@NonNull String value){
super((QPrivateConstructor)null);
initialize_native(this, namespaceUri, name, value);
}
private native static void initialize_native(QXmlStreamAttribute instance, java.lang.String namespaceUri, java.lang.String name, java.lang.String value);
/**
* See QXmlStreamAttribute:: QXmlStreamAttribute(QXmlStreamAttribute)
*/
public QXmlStreamAttribute(io.qt.core.@NonNull QXmlStreamAttribute other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QXmlStreamAttribute instance, io.qt.core.QXmlStreamAttribute other);
/**
* See QXmlStreamAttribute:: isDefault()const
*/
@QtUninvokable
public final boolean isDefault(){
return isDefault_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isDefault_native_constfct(long __this__nativeId);
/**
* See QXmlStreamAttribute:: name()const
*/
@QtUninvokable
public final java.lang.@NonNull String name(){
return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String name_native_constfct(long __this__nativeId);
/**
* See QXmlStreamAttribute:: 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 QXmlStreamAttribute:: operator==(QXmlStreamAttribute)const
*/
@QtUninvokable
public final boolean equals(io.qt.core.@NonNull QXmlStreamAttribute other){
return equals_native_cref_QXmlStreamAttribute_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native boolean equals_native_cref_QXmlStreamAttribute_constfct(long __this__nativeId, long other);
/**
* See QXmlStreamAttribute:: 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);
/**
* See QXmlStreamAttribute:: qualifiedName()const
*/
@QtUninvokable
public final java.lang.@NonNull String qualifiedName(){
return qualifiedName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String qualifiedName_native_constfct(long __this__nativeId);
/**
* See QXmlStreamAttribute:: value()const
*/
@QtUninvokable
public final java.lang.@NonNull String value(){
return value_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String value_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QXmlStreamAttribute(QPrivateConstructor p) { super(p); }
/**
* See QXmlStreamAttribute:: operator==(QXmlStreamAttribute)const
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.core.QXmlStreamAttribute) {
return equals((io.qt.core.QXmlStreamAttribute) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QXmlStreamAttribute)
.
*/
@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 QXmlStreamAttribute:: QXmlStreamAttribute(QXmlStreamAttribute)
*/
@QtUninvokable
@Override
public QXmlStreamAttribute clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QXmlStreamAttribute clone_native(long __this_nativeId);
}