io.qt.xml.QDomAttr 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.*;
/**
* Represents one attribute of a QDomElement
* Java wrapper for Qt class QDomAttr
*/
public class QDomAttr extends io.qt.xml.QDomNode
implements java.lang.Cloneable
{
/**
*
*/
public QDomAttr(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QDomAttr instance);
/**
* See QDomAttr:: QDomAttr(QDomAttr)
* @param attr
*/
public QDomAttr(io.qt.xml.@NonNull QDomAttr attr){
super((QPrivateConstructor)null);
initialize_native(this, attr);
}
private native static void initialize_native(QDomAttr instance, io.qt.xml.QDomAttr attr);
/**
*
* @return
*/
@QtUninvokable
public final java.lang.@NonNull String name(){
return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String name_native_constfct(long __this__nativeId);
/**
* See QDomAttr:: operator=(QDomAttr)
* @param other
*/
@QtUninvokable
public final void assign(io.qt.xml.@NonNull QDomAttr other){
assign_native_cref_QDomAttr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QDomAttr(long __this__nativeId, long other);
/**
* See QDomAttr:: ownerElement()const
* @return
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomElement ownerElement(){
return ownerElement_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomElement ownerElement_native_constfct(long __this__nativeId);
/**
* See QDomAttr:: setValue(QString)
* @param value
*/
@QtUninvokable
public final void setValue(java.lang.@NonNull String value){
setValue_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), value);
}
@QtUninvokable
private native void setValue_native_cref_QString(long __this__nativeId, java.lang.String value);
/**
* See QDomAttr:: specified()const
* @return
*/
@QtUninvokable
public final boolean specified(){
return specified_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean specified_native_constfct(long __this__nativeId);
/**
*
* @return
*/
@QtUninvokable
public final java.lang.@NonNull String value(){
return value_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String value_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QDomAttr(QPrivateConstructor p) { super(p); }
/**
* Creates and returns a copy of this object.
*/
@QtUninvokable
@Override
public QDomAttr clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QDomAttr clone_native(long __this_nativeId);
}