io.qt.core.QXmlStreamAttributes Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.core;
import io.qt.*;
/**
* Represents a vector of QXmlStreamAttribute
* Java wrapper for Qt class QXmlStreamAttributes
*/
public class QXmlStreamAttributes extends io.qt.core.QList
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QXmlStreamAttributes:: QXmlStreamAttributes()
*/
public QXmlStreamAttributes(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QXmlStreamAttributes instance);
/**
* See QXmlStreamAttributes:: QXmlStreamAttributes(QXmlStreamAttributes)
*/
public QXmlStreamAttributes(io.qt.core.@NonNull QXmlStreamAttributes other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QXmlStreamAttributes instance, io.qt.core.QXmlStreamAttributes other);
/**
* See QXmlStreamAttributes:: append(QString, QString)
*/
@QtUninvokable
public final void append(java.lang.@NonNull String qualifiedName, java.lang.@NonNull String value){
append_native_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), qualifiedName, value);
}
@QtUninvokable
private native void append_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String qualifiedName, java.lang.String value);
/**
* See QXmlStreamAttributes:: append(QString, QString, QString)
*/
@QtUninvokable
public final void append(java.lang.@NonNull String namespaceUri, java.lang.@NonNull String name, java.lang.@NonNull String value){
append_native_cref_QString_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), namespaceUri, name, value);
}
@QtUninvokable
private native void append_native_cref_QString_cref_QString_cref_QString(long __this__nativeId, java.lang.String namespaceUri, java.lang.String name, java.lang.String value);
/**
* See QXmlStreamAttributes:: hasAttribute(QAnyStringView)const
*/
@QtUninvokable
public final boolean hasAttribute(java.lang.@NonNull String qualifiedName){
return hasAttribute_native_QAnyStringView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), qualifiedName);
}
@QtUninvokable
private native boolean hasAttribute_native_QAnyStringView_constfct(long __this__nativeId, java.lang.String qualifiedName);
/**
* See QXmlStreamAttributes:: hasAttribute(QAnyStringView, QAnyStringView)const
*/
@QtUninvokable
public final boolean hasAttribute(java.lang.@NonNull String namespaceUri, java.lang.@NonNull String name){
return hasAttribute_native_QAnyStringView_QAnyStringView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), namespaceUri, name);
}
@QtUninvokable
private native boolean hasAttribute_native_QAnyStringView_QAnyStringView_constfct(long __this__nativeId, java.lang.String namespaceUri, java.lang.String name);
/**
* See QXmlStreamAttributes:: value(QAnyStringView)const
*/
@QtUninvokable
public final java.lang.@NonNull String value(java.lang.@NonNull String qualifiedName){
return value_native_QAnyStringView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), qualifiedName);
}
@QtUninvokable
private native java.lang.String value_native_QAnyStringView_constfct(long __this__nativeId, java.lang.String qualifiedName);
/**
* See QXmlStreamAttributes:: value(QAnyStringView, QAnyStringView)const
*/
@QtUninvokable
public final java.lang.@NonNull String value(java.lang.@NonNull String namespaceUri, java.lang.@NonNull String name){
return value_native_QAnyStringView_QAnyStringView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), namespaceUri, name);
}
@QtUninvokable
private native java.lang.String value_native_QAnyStringView_QAnyStringView_constfct(long __this__nativeId, java.lang.String namespaceUri, java.lang.String name);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QXmlStreamAttributes(QPrivateConstructor p) { super(p); }
/**
* Returns the objects's hash code computed by qHash(QXmlStreamAttributes)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
public QXmlStreamAttributes(java.util.Collection collection){
this();
append(collection);
}
/**
* Creates and returns a copy of this object.
See QXmlStreamAttributes:: QXmlStreamAttributes(QXmlStreamAttributes)
*/
@QtUninvokable
@Override
public QXmlStreamAttributes clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QXmlStreamAttributes clone_native(long __this_nativeId);
}