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.
The newest version!
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)
* @param nodeList
*/
public QDomNodeList(io.qt.xml.@NonNull QDomNodeList nodeList){
super((QPrivateConstructor)null);
initialize_native(this, nodeList);
}
private native static void initialize_native(QDomNodeList instance, io.qt.xml.QDomNodeList nodeList);
/**
* See QDomNodeList:: at(int)const
* @param index
* @return
*/
@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
* @return
*/
@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
* @return
*/
@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
* @param index
* @return
*/
@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
* @return
*/
@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)
* @param other
*/
@QtUninvokable
public final void assign(io.qt.xml.@NonNull QDomNodeList other){
assign_native_cref_QDomNodeList(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QDomNodeList(long __this__nativeId, long other);
/**
* See QDomNodeList:: operator==(QDomNodeList)const
* @param other
* @return
*/
@QtUninvokable
public final boolean equals(io.qt.xml.@NonNull QDomNodeList other){
return equals_native_cref_QDomNodeList_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native boolean equals_native_cref_QDomNodeList_constfct(long __this__nativeId, long other);
/**
*
* @return
*/
@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);
}