io.qt.xml.QDomNodeList Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-xml Show documentation
Show all versions of qtjambi-xml Show documentation
C++ implementations of SAX and DOM.
package io.qt.xml;
import io.qt.*;
/**
* List of QDomNode objects
* Java wrapper for Qt class QDomNodeList
*/
public class QDomNodeList extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QDomNodeList:: QDomNodeList()
*/
public QDomNodeList(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QDomNodeList instance);
/**
* See QDomNodeList:: QDomNodeList(QDomNodeList)
*/
public QDomNodeList(io.qt.xml.@NonNull QDomNodeList arg__1){
super((QPrivateConstructor)null);
initialize_native(this, arg__1);
}
private native static void initialize_native(QDomNodeList instance, io.qt.xml.QDomNodeList arg__1);
/**
* See QDomNodeList:: at(int)const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode at(int index){
return at_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native io.qt.xml.QDomNode at_native_int_constfct(long __this__nativeId, int index);
/**
* See QDomNodeList:: 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 QDomNodeList:: isEmpty()const
*/
@QtUninvokable
public final boolean isEmpty(){
return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isEmpty_native_constfct(long __this__nativeId);
/**
* See QDomNodeList:: item(int)const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode item(int index){
return item_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native io.qt.xml.QDomNode item_native_int_constfct(long __this__nativeId, int index);
/**
* See QDomNodeList:: 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 QDomNodeList:: operator=(QDomNodeList)
*/
@QtUninvokable
public final void assign(io.qt.xml.@NonNull QDomNodeList arg__1){
assign_native_cref_QDomNodeList(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void assign_native_cref_QDomNodeList(long __this__nativeId, long arg__1);
/**
* See QDomNodeList:: operator==(QDomNodeList)const
*/
@QtUninvokable
public final boolean equals(io.qt.xml.@NonNull QDomNodeList arg__1){
return equals_native_cref_QDomNodeList_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native boolean equals_native_cref_QDomNodeList_constfct(long __this__nativeId, long arg__1);
/**
*
*/
@QtUninvokable
public final int size(){
return size_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int size_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QDomNodeList(QPrivateConstructor p) { super(p); }
/**
* See QDomNodeList:: operator==(QDomNodeList)const
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other==null || other instanceof io.qt.xml.QDomNodeList) {
return equals((io.qt.xml.QDomNodeList) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QDomNodeList)
.
*/
@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 QDomNodeList clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QDomNodeList clone_native(long __this_nativeId);
}