io.qt.uic.ui4.DomHeader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-uic Show documentation
Show all versions of qtjambi-uic Show documentation
QtJambi User Interface Compiler
The newest version!
package io.qt.uic.ui4;
import io.qt.*;
/**
* Java wrapper for Qt class DomHeader
* @hidden
*/
public class DomHeader extends QtObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See DomHeader:: DomHeader()
*/
public DomHeader(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(DomHeader instance);
/**
* See DomHeader:: attributeLocation()const
* @return
*/
@QtUninvokable
public final java.lang.@NonNull String attributeLocation(){
return attributeLocation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String attributeLocation_native_constfct(long __this__nativeId);
/**
* See DomHeader:: clearAttributeLocation()
*/
@QtUninvokable
public final void clearAttributeLocation(){
clearAttributeLocation_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clearAttributeLocation_native(long __this__nativeId);
/**
* See DomHeader:: hasAttributeLocation()const
* @return
*/
@QtUninvokable
public final boolean hasAttributeLocation(){
return hasAttributeLocation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasAttributeLocation_native_constfct(long __this__nativeId);
/**
* See DomHeader:: read(QXmlStreamReader&)
* @param reader
*/
@QtUninvokable
public final void read(io.qt.core.@StrictNonNull QXmlStreamReader reader){
java.util.Objects.requireNonNull(reader, "Argument 'reader': null not expected.");
read_native_ref_QXmlStreamReader(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(reader));
}
@QtUninvokable
private native void read_native_ref_QXmlStreamReader(long __this__nativeId, long reader);
/**
* See DomHeader:: setAttributeLocation(QString)
* @param a
*/
@QtUninvokable
public final void setAttributeLocation(java.lang.@NonNull String a){
setAttributeLocation_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), a);
}
@QtUninvokable
private native void setAttributeLocation_native_cref_QString(long __this__nativeId, java.lang.String a);
/**
* See DomHeader:: setText(QString)
* @param s
*/
@QtUninvokable
public final void setText(java.lang.@NonNull String s){
setText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), s);
}
@QtUninvokable
private native void setText_native_cref_QString(long __this__nativeId, java.lang.String s);
/**
* See DomHeader:: text()const
* @return
*/
@QtUninvokable
public final java.lang.@NonNull String text(){
return text_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String text_native_constfct(long __this__nativeId);
/**
* See DomHeader:: write(QXmlStreamWriter&, QString)const
* @param writer
* @param tagName
*/
@QtUninvokable
public final void write(io.qt.core.@StrictNonNull QXmlStreamWriter writer, java.lang.@NonNull String tagName){
java.util.Objects.requireNonNull(writer, "Argument 'writer': null not expected.");
write_native_ref_QXmlStreamWriter_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(writer), tagName);
}
@QtUninvokable
private native void write_native_ref_QXmlStreamWriter_cref_QString_constfct(long __this__nativeId, long writer, java.lang.String tagName);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected DomHeader(QPrivateConstructor p) { super(p); }
/**
* Overloaded function for {@link #write(io.qt.core.QXmlStreamWriter, java.lang.String)}
* with tagName = (String)null
.
*/
@QtUninvokable
public final void write(io.qt.core.@StrictNonNull QXmlStreamWriter writer) {
write(writer, (String)null);
}
}