io.qt.xml.QXmlAttributes Maven / Gradle / Ivy
Show all versions of qtjambi-xml Show documentation
package io.qt.xml;
import io.qt.*;
/**
* XML attributes
* Java wrapper for Qt class QXmlAttributes
*/
public class QXmlAttributes extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QXmlAttributes:: QXmlAttributes()
*/
public QXmlAttributes(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QXmlAttributes instance);
/**
* See QXmlAttributes:: QXmlAttributes(QXmlAttributes)
*/
public QXmlAttributes(io.qt.xml.@NonNull QXmlAttributes arg__1){
super((QPrivateConstructor)null);
initialize_native(this, arg__1);
}
private native static void initialize_native(QXmlAttributes instance, io.qt.xml.QXmlAttributes arg__1);
/**
* See QXmlAttributes:: append(QString, QString, QString, QString)
*/
@QtUninvokable
public final void append(java.lang.@NonNull String qName, java.lang.@NonNull String uri, java.lang.@NonNull String localPart, java.lang.@NonNull String value){
append_native_cref_QString_cref_QString_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), qName, uri, localPart, value);
}
@QtUninvokable
private native void append_native_cref_QString_cref_QString_cref_QString_cref_QString(long __this__nativeId, java.lang.String qName, java.lang.String uri, java.lang.String localPart, java.lang.String value);
/**
*
*/
@QtUninvokable
public final void clear(){
clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clear_native(long __this__nativeId);
/**
* See QXmlAttributes:: count()const
*/
@QtUninvokable
public final int count(){
return count_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int count_native_constfct(long __this__nativeId);
/**
* See QXmlAttributes:: index(QString)const
*/
@QtUninvokable
public final int index(java.lang.@NonNull String qName){
return index_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), qName);
}
@QtUninvokable
private native int index_native_cref_QString_constfct(long __this__nativeId, java.lang.String qName);
/**
* See QXmlAttributes:: index(QString, QString)const
*/
@QtUninvokable
public final int index(java.lang.@NonNull String uri, java.lang.@NonNull String localPart){
return index_native_cref_QString_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), uri, localPart);
}
@QtUninvokable
private native int index_native_cref_QString_cref_QString_constfct(long __this__nativeId, java.lang.String uri, java.lang.String localPart);
/**
* See QXmlAttributes:: length()const
*/
@QtUninvokable
public final int length(){
return length_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int length_native_constfct(long __this__nativeId);
/**
* See QXmlAttributes:: localName(int)const
*/
@QtUninvokable
public final java.lang.@NonNull String localName(int index){
return localName_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native java.lang.String localName_native_int_constfct(long __this__nativeId, int index);
/**
* See QXmlAttributes:: operator=(QXmlAttributes)
*/
@QtUninvokable
public final void assign(io.qt.xml.@NonNull QXmlAttributes arg__1){
assign_native_cref_QXmlAttributes(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void assign_native_cref_QXmlAttributes(long __this__nativeId, long arg__1);
/**
* See operator==(QXmlAttributes, QXmlAttributes)
*/
@QtUninvokable
public final boolean equals(io.qt.xml.@NonNull QXmlAttributes arg2){
return equals_native_cref_QXmlAttributes(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg2));
}
@QtUninvokable
private native boolean equals_native_cref_QXmlAttributes(long __this__nativeId, long arg2);
/**
* See QXmlAttributes:: qName(int)const
*/
@QtUninvokable
public final java.lang.@NonNull String qName(int index){
return qName_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native java.lang.String qName_native_int_constfct(long __this__nativeId, int index);
/**
* See QXmlAttributes:: swap(QXmlAttributes&)
*/
@QtUninvokable
public final void swap(io.qt.xml.@StrictNonNull QXmlAttributes other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QXmlAttributes(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void swap_native_ref_QXmlAttributes(long __this__nativeId, long other);
/**
* See QXmlAttributes:: type(QString)const
*/
@QtUninvokable
public final java.lang.@NonNull String type(java.lang.@NonNull String qName){
return type_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), qName);
}
@QtUninvokable
private native java.lang.String type_native_cref_QString_constfct(long __this__nativeId, java.lang.String qName);
/**
* See QXmlAttributes:: type(QString, QString)const
*/
@QtUninvokable
public final java.lang.@NonNull String type(java.lang.@NonNull String uri, java.lang.@NonNull String localName){
return type_native_cref_QString_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), uri, localName);
}
@QtUninvokable
private native java.lang.String type_native_cref_QString_cref_QString_constfct(long __this__nativeId, java.lang.String uri, java.lang.String localName);
/**
* See QXmlAttributes:: type(int)const
*/
@QtUninvokable
public final java.lang.@NonNull String type(int index){
return type_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native java.lang.String type_native_int_constfct(long __this__nativeId, int index);
/**
* See QXmlAttributes:: uri(int)const
*/
@QtUninvokable
public final java.lang.@NonNull String uri(int index){
return uri_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native java.lang.String uri_native_int_constfct(long __this__nativeId, int index);
/**
* See QXmlAttributes:: value(QString)const
*/
@QtUninvokable
public final java.lang.@NonNull String value(java.lang.@NonNull String qName){
return value_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), qName);
}
@QtUninvokable
private native java.lang.String value_native_cref_QString_constfct(long __this__nativeId, java.lang.String qName);
/**
* See QXmlAttributes:: value(QString, QString)const
*/
@QtUninvokable
public final java.lang.@NonNull String value(java.lang.@NonNull String uri, java.lang.@NonNull String localName){
return value_native_cref_QString_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), uri, localName);
}
@QtUninvokable
private native java.lang.String value_native_cref_QString_cref_QString_constfct(long __this__nativeId, java.lang.String uri, java.lang.String localName);
/**
* See QXmlAttributes:: value(int)const
*/
@QtUninvokable
public final java.lang.@NonNull String value(int index){
return value_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native java.lang.String value_native_int_constfct(long __this__nativeId, int index);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QXmlAttributes(QPrivateConstructor p) { super(p); }
/**
* See operator==(QXmlAttributes, QXmlAttributes)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.xml.QXmlAttributes) {
return equals((io.qt.xml.QXmlAttributes) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QXmlAttributes)
.
*/
@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.
*/
@QtUninvokable
@Override
public QXmlAttributes clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QXmlAttributes clone_native(long __this_nativeId);
}