io.qt.xml.QDomNamedNodeMap Maven / Gradle / Ivy
Show all versions of qtjambi-xml Show documentation
package io.qt.xml;
import io.qt.*;
/**
* Contains a collection of nodes that can be accessed by name
* Java wrapper for Qt class QDomNamedNodeMap
*/
public class QDomNamedNodeMap extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QDomNamedNodeMap:: QDomNamedNodeMap()
*/
public QDomNamedNodeMap(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QDomNamedNodeMap instance);
/**
* See QDomNamedNodeMap:: QDomNamedNodeMap(QDomNamedNodeMap)
* @param namedNodeMap
*/
public QDomNamedNodeMap(io.qt.xml.@NonNull QDomNamedNodeMap namedNodeMap){
super((QPrivateConstructor)null);
initialize_native(this, namedNodeMap);
}
private native static void initialize_native(QDomNamedNodeMap instance, io.qt.xml.QDomNamedNodeMap namedNodeMap);
/**
* See QDomNamedNodeMap:: contains(QString)const
* @param name
* @return
*/
@QtUninvokable
public final boolean contains(java.lang.@NonNull String name){
return contains_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
@QtUninvokable
private native boolean contains_native_cref_QString_constfct(long __this__nativeId, java.lang.String name);
/**
* See QDomNamedNodeMap:: 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 QDomNamedNodeMap:: 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 QDomNamedNodeMap:: 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 QDomNamedNodeMap:: 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 QDomNamedNodeMap:: namedItem(QString)const
* @param name
* @return
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode namedItem(java.lang.@NonNull String name){
return namedItem_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
@QtUninvokable
private native io.qt.xml.QDomNode namedItem_native_cref_QString_constfct(long __this__nativeId, java.lang.String name);
/**
* See QDomNamedNodeMap:: namedItemNS(QString, QString)const
* @param nsURI
* @param localName
* @return
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode namedItemNS(java.lang.@NonNull String nsURI, java.lang.@NonNull String localName){
return namedItemNS_native_cref_QString_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), nsURI, localName);
}
@QtUninvokable
private native io.qt.xml.QDomNode namedItemNS_native_cref_QString_cref_QString_constfct(long __this__nativeId, java.lang.String nsURI, java.lang.String localName);
/**
* See QDomNamedNodeMap:: operator=(QDomNamedNodeMap)
* @param other
*/
@QtUninvokable
public final void assign(io.qt.xml.@NonNull QDomNamedNodeMap other){
assign_native_cref_QDomNamedNodeMap(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QDomNamedNodeMap(long __this__nativeId, long other);
/**
* See QDomNamedNodeMap:: operator==(QDomNamedNodeMap)const
* @param other
* @return
*/
@QtUninvokable
public final boolean equals(io.qt.xml.@NonNull QDomNamedNodeMap other){
return equals_native_cref_QDomNamedNodeMap_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native boolean equals_native_cref_QDomNamedNodeMap_constfct(long __this__nativeId, long other);
/**
* See QDomNamedNodeMap:: removeNamedItem(QString)
* @param name
* @return
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode removeNamedItem(java.lang.@NonNull String name){
return removeNamedItem_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
@QtUninvokable
private native io.qt.xml.QDomNode removeNamedItem_native_cref_QString(long __this__nativeId, java.lang.String name);
/**
* See QDomNamedNodeMap:: removeNamedItemNS(QString, QString)
* @param nsURI
* @param localName
* @return
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode removeNamedItemNS(java.lang.@NonNull String nsURI, java.lang.@NonNull String localName){
return removeNamedItemNS_native_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), nsURI, localName);
}
@QtUninvokable
private native io.qt.xml.QDomNode removeNamedItemNS_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String nsURI, java.lang.String localName);
/**
* See QDomNamedNodeMap:: setNamedItem(QDomNode)
* @param newNode
* @return
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode setNamedItem(io.qt.xml.@NonNull QDomNode newNode){
return setNamedItem_native_cref_QDomNode(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(newNode));
}
@QtUninvokable
private native io.qt.xml.QDomNode setNamedItem_native_cref_QDomNode(long __this__nativeId, long newNode);
/**
* See QDomNamedNodeMap:: setNamedItemNS(QDomNode)
* @param newNode
* @return
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode setNamedItemNS(io.qt.xml.@NonNull QDomNode newNode){
return setNamedItemNS_native_cref_QDomNode(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(newNode));
}
@QtUninvokable
private native io.qt.xml.QDomNode setNamedItemNS_native_cref_QDomNode(long __this__nativeId, long newNode);
/**
* See QDomNamedNodeMap:: size()const
* @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 QDomNamedNodeMap(QPrivateConstructor p) { super(p); }
/**
* See QDomNamedNodeMap:: operator==(QDomNamedNodeMap)const
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other==null || other instanceof io.qt.xml.QDomNamedNodeMap) {
return equals((io.qt.xml.QDomNamedNodeMap) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QDomNamedNodeMap)
.
*/
@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 QDomNamedNodeMap clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QDomNamedNodeMap clone_native(long __this_nativeId);
}