
io.qt.core.QXmlStreamAttribute Maven / Gradle / Ivy
package io.qt.core;
/**
* Represents a single XML attribute
* Java wrapper for Qt class QXmlStreamAttribute
*/
public class QXmlStreamAttribute extends io.qt.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,QString)
*/
public QXmlStreamAttribute(java.lang.String namespaceUri, java.lang.String name, java.lang.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(QString,QString)
*/
public QXmlStreamAttribute(java.lang.String qualifiedName, java.lang.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::isDefault()const
*/
@io.qt.QtUninvokable
public final boolean isDefault(){
return isDefault_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isDefault_native_constfct(long __this__nativeId);
/**
* See QXmlStreamAttribute::name()const
*/
@io.qt.QtUninvokable
public final java.lang.String name(){
return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String name_native_constfct(long __this__nativeId);
/**
* See QXmlStreamAttribute::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 QXmlStreamAttribute::operator==(QXmlStreamAttribute)const
*/
@io.qt.QtUninvokable
private final boolean operator_equal(io.qt.core.QXmlStreamAttribute other){
return operator_equal_native_cref_QXmlStreamAttribute_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native boolean operator_equal_native_cref_QXmlStreamAttribute_constfct(long __this__nativeId, long other);
/**
* See QXmlStreamAttribute::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);
/**
* See QXmlStreamAttribute::qualifiedName()const
*/
@io.qt.QtUninvokable
public final java.lang.String qualifiedName(){
return qualifiedName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String qualifiedName_native_constfct(long __this__nativeId);
/**
* See QXmlStreamAttribute::value()const
*/
@io.qt.QtUninvokable
public final java.lang.String value(){
return value_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String value_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QXmlStreamAttribute(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.core.QXmlStreamAttribute) {
return operator_equal((io.qt.core.QXmlStreamAttribute) 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 QXmlStreamAttribute clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QXmlStreamAttribute clone_native(long __this_nativeId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy