All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.core.QXmlStreamWriter Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.core;

import io.qt.*;


/**
 * 

XML writer with a simple streaming API

*

Java wrapper for Qt class QXmlStreamWriter

*/ public class QXmlStreamWriter extends QtObject { static { QtJambi_LibraryUtilities.initialize(); } @QtPropertyMember(enabled=false) private Object __rcDevice = null; /** *

See QXmlStreamWriter::QXmlStreamWriter()

*/ public QXmlStreamWriter(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QXmlStreamWriter instance); /** *

See QXmlStreamWriter::QXmlStreamWriter(QByteArray*)

*/ public QXmlStreamWriter(io.qt.core.@Nullable QByteArray array){ super((QPrivateConstructor)null); initialize_native(this, array); __rcDevice = array; } private native static void initialize_native(QXmlStreamWriter instance, io.qt.core.QByteArray array); /** *

See QXmlStreamWriter::QXmlStreamWriter(QIODevice*)

*/ public QXmlStreamWriter(io.qt.core.@Nullable QIODevice device){ super((QPrivateConstructor)null); initialize_native(this, device); __rcDevice = device; } private native static void initialize_native(QXmlStreamWriter instance, io.qt.core.QIODevice device); /** *

See QXmlStreamWriter::autoFormatting()const

*/ @QtUninvokable public final boolean autoFormatting(){ return autoFormatting_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean autoFormatting_native_constfct(long __this__nativeId); /** *

See QXmlStreamWriter::autoFormattingIndent()const

*/ @QtUninvokable public final int autoFormattingIndent(){ return autoFormattingIndent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int autoFormattingIndent_native_constfct(long __this__nativeId); /** *

See QXmlStreamWriter::device()const

*/ @QtUninvokable public final io.qt.core.@Nullable QIODevice device(){ return device_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QIODevice device_native_constfct(long __this__nativeId); /** *

See QXmlStreamWriter::hasError()const

*/ @QtUninvokable public final boolean hasError(){ return hasError_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean hasError_native_constfct(long __this__nativeId); /** *

See QXmlStreamWriter::setAutoFormatting(bool)

*/ @QtUninvokable public final void setAutoFormatting(boolean arg__1){ setAutoFormatting_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native void setAutoFormatting_native_bool(long __this__nativeId, boolean arg__1); /** *

See QXmlStreamWriter::setAutoFormattingIndent(int)

*/ @QtUninvokable public final void setAutoFormattingIndent(int spacesOrTabs){ setAutoFormattingIndent_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), spacesOrTabs); } @QtUninvokable private native void setAutoFormattingIndent_native_int(long __this__nativeId, int spacesOrTabs); /** *

See QXmlStreamWriter::setDevice(QIODevice*)

*/ @QtUninvokable public final void setDevice(io.qt.core.@Nullable QIODevice device){ setDevice_native_QIODevice_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(device)); __rcDevice = device; } @QtUninvokable private native void setDevice_native_QIODevice_ptr(long __this__nativeId, long device); /** *

See QXmlStreamWriter::writeAttribute(QAnyStringView,QAnyStringView)

*/ @QtUninvokable public final void writeAttribute(java.lang.@NonNull String qualifiedName, java.lang.@NonNull String value){ writeAttribute_native_QAnyStringView_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), qualifiedName, value); } @QtUninvokable private native void writeAttribute_native_QAnyStringView_QAnyStringView(long __this__nativeId, java.lang.String qualifiedName, java.lang.String value); /** *

See QXmlStreamWriter::writeAttribute(QAnyStringView,QAnyStringView,QAnyStringView)

*/ @QtUninvokable public final void writeAttribute(java.lang.@NonNull String namespaceUri, java.lang.@NonNull String name, java.lang.@NonNull String value){ writeAttribute_native_QAnyStringView_QAnyStringView_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), namespaceUri, name, value); } @QtUninvokable private native void writeAttribute_native_QAnyStringView_QAnyStringView_QAnyStringView(long __this__nativeId, java.lang.String namespaceUri, java.lang.String name, java.lang.String value); /** *

See QXmlStreamWriter::writeAttribute(QXmlStreamAttribute)

*/ @QtUninvokable public final void writeAttribute(io.qt.core.@NonNull QXmlStreamAttribute attribute){ writeAttribute_native_cref_QXmlStreamAttribute(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(attribute)); } @QtUninvokable private native void writeAttribute_native_cref_QXmlStreamAttribute(long __this__nativeId, long attribute); /** *

See QXmlStreamWriter::writeAttributes(QXmlStreamAttributes)

*/ @QtUninvokable public final void writeAttributes(io.qt.core.@NonNull QXmlStreamAttributes attributes){ writeAttributes_native_cref_QXmlStreamAttributes(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(attributes)); } @QtUninvokable private native void writeAttributes_native_cref_QXmlStreamAttributes(long __this__nativeId, long attributes); /** *

See QXmlStreamWriter::writeCDATA(QAnyStringView)

*/ @QtUninvokable public final void writeCDATA(java.lang.@NonNull String text){ writeCDATA_native_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), text); } @QtUninvokable private native void writeCDATA_native_QAnyStringView(long __this__nativeId, java.lang.String text); /** *

See QXmlStreamWriter::writeCharacters(QAnyStringView)

*/ @QtUninvokable public final void writeCharacters(java.lang.@NonNull String text){ writeCharacters_native_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), text); } @QtUninvokable private native void writeCharacters_native_QAnyStringView(long __this__nativeId, java.lang.String text); /** *

See QXmlStreamWriter::writeComment(QAnyStringView)

*/ @QtUninvokable public final void writeComment(java.lang.@NonNull String text){ writeComment_native_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), text); } @QtUninvokable private native void writeComment_native_QAnyStringView(long __this__nativeId, java.lang.String text); /** *

See QXmlStreamWriter::writeCurrentToken(QXmlStreamReader)

*/ @QtUninvokable public final void writeCurrentToken(io.qt.core.@StrictNonNull QXmlStreamReader reader){ java.util.Objects.requireNonNull(reader, "Argument 'reader': null not expected."); writeCurrentToken_native_cref_QXmlStreamReader(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(reader)); } @QtUninvokable private native void writeCurrentToken_native_cref_QXmlStreamReader(long __this__nativeId, long reader); /** *

See QXmlStreamWriter::writeDTD(QAnyStringView)

*/ @QtUninvokable public final void writeDTD(java.lang.@NonNull String dtd){ writeDTD_native_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), dtd); } @QtUninvokable private native void writeDTD_native_QAnyStringView(long __this__nativeId, java.lang.String dtd); /** *

See QXmlStreamWriter::writeDefaultNamespace(QAnyStringView)

*/ @QtUninvokable public final void writeDefaultNamespace(java.lang.@NonNull String namespaceUri){ writeDefaultNamespace_native_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), namespaceUri); } @QtUninvokable private native void writeDefaultNamespace_native_QAnyStringView(long __this__nativeId, java.lang.String namespaceUri); /** *

See QXmlStreamWriter::writeEmptyElement(QAnyStringView)

*/ @QtUninvokable public final void writeEmptyElement(java.lang.@NonNull String qualifiedName){ writeEmptyElement_native_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), qualifiedName); } @QtUninvokable private native void writeEmptyElement_native_QAnyStringView(long __this__nativeId, java.lang.String qualifiedName); /** *

See QXmlStreamWriter::writeEmptyElement(QAnyStringView,QAnyStringView)

*/ @QtUninvokable public final void writeEmptyElement(java.lang.@NonNull String namespaceUri, java.lang.@NonNull String name){ writeEmptyElement_native_QAnyStringView_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), namespaceUri, name); } @QtUninvokable private native void writeEmptyElement_native_QAnyStringView_QAnyStringView(long __this__nativeId, java.lang.String namespaceUri, java.lang.String name); /** *

See QXmlStreamWriter::writeEndDocument()

*/ @QtUninvokable public final void writeEndDocument(){ writeEndDocument_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void writeEndDocument_native(long __this__nativeId); /** *

See QXmlStreamWriter::writeEndElement()

*/ @QtUninvokable public final void writeEndElement(){ writeEndElement_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void writeEndElement_native(long __this__nativeId); /** *

See QXmlStreamWriter::writeEntityReference(QAnyStringView)

*/ @QtUninvokable public final void writeEntityReference(java.lang.@NonNull String name){ writeEntityReference_native_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @QtUninvokable private native void writeEntityReference_native_QAnyStringView(long __this__nativeId, java.lang.String name); /** *

See QXmlStreamWriter::writeNamespace(QAnyStringView,QAnyStringView)

*/ @QtUninvokable public final void writeNamespace(java.lang.@NonNull String namespaceUri, java.lang.@NonNull String prefix){ writeNamespace_native_QAnyStringView_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), namespaceUri, prefix); } @QtUninvokable private native void writeNamespace_native_QAnyStringView_QAnyStringView(long __this__nativeId, java.lang.String namespaceUri, java.lang.String prefix); /** *

See QXmlStreamWriter::writeProcessingInstruction(QAnyStringView,QAnyStringView)

*/ @QtUninvokable public final void writeProcessingInstruction(java.lang.@NonNull String target, java.lang.@NonNull String data){ writeProcessingInstruction_native_QAnyStringView_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), target, data); } @QtUninvokable private native void writeProcessingInstruction_native_QAnyStringView_QAnyStringView(long __this__nativeId, java.lang.String target, java.lang.String data); /** *

See QXmlStreamWriter::writeStartDocument()

*/ @QtUninvokable public final void writeStartDocument(){ writeStartDocument_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void writeStartDocument_native(long __this__nativeId); /** *

See QXmlStreamWriter::writeStartDocument(QAnyStringView)

*/ @QtUninvokable public final void writeStartDocument(java.lang.@NonNull String version){ writeStartDocument_native_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), version); } @QtUninvokable private native void writeStartDocument_native_QAnyStringView(long __this__nativeId, java.lang.String version); /** *

See QXmlStreamWriter::writeStartDocument(QAnyStringView,bool)

*/ @QtUninvokable public final void writeStartDocument(java.lang.@NonNull String version, boolean standalone){ writeStartDocument_native_QAnyStringView_bool(QtJambi_LibraryUtilities.internal.nativeId(this), version, standalone); } @QtUninvokable private native void writeStartDocument_native_QAnyStringView_bool(long __this__nativeId, java.lang.String version, boolean standalone); /** *

See QXmlStreamWriter::writeStartElement(QAnyStringView)

*/ @QtUninvokable public final void writeStartElement(java.lang.@NonNull String qualifiedName){ writeStartElement_native_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), qualifiedName); } @QtUninvokable private native void writeStartElement_native_QAnyStringView(long __this__nativeId, java.lang.String qualifiedName); /** *

See QXmlStreamWriter::writeStartElement(QAnyStringView,QAnyStringView)

*/ @QtUninvokable public final void writeStartElement(java.lang.@NonNull String namespaceUri, java.lang.@NonNull String name){ writeStartElement_native_QAnyStringView_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), namespaceUri, name); } @QtUninvokable private native void writeStartElement_native_QAnyStringView_QAnyStringView(long __this__nativeId, java.lang.String namespaceUri, java.lang.String name); /** *

See QXmlStreamWriter::writeTextElement(QAnyStringView,QAnyStringView)

*/ @QtUninvokable public final void writeTextElement(java.lang.@NonNull String qualifiedName, java.lang.@NonNull String text){ writeTextElement_native_QAnyStringView_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), qualifiedName, text); } @QtUninvokable private native void writeTextElement_native_QAnyStringView_QAnyStringView(long __this__nativeId, java.lang.String qualifiedName, java.lang.String text); /** *

See QXmlStreamWriter::writeTextElement(QAnyStringView,QAnyStringView,QAnyStringView)

*/ @QtUninvokable public final void writeTextElement(java.lang.@NonNull String namespaceUri, java.lang.@NonNull String name, java.lang.@NonNull String text){ writeTextElement_native_QAnyStringView_QAnyStringView_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), namespaceUri, name, text); } @QtUninvokable private native void writeTextElement_native_QAnyStringView_QAnyStringView_QAnyStringView(long __this__nativeId, java.lang.String namespaceUri, java.lang.String name, java.lang.String text); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QXmlStreamWriter(QPrivateConstructor p) { super(p); } /** *

Overloaded function for {@link #writeNamespace(java.lang.String, java.lang.String)} * with prefix = (String)null.

*/ @QtUninvokable public final void writeNamespace(java.lang.@NonNull String namespaceUri) { writeNamespace(namespaceUri, (String)null); } /** *

Overloaded function for {@link #writeProcessingInstruction(java.lang.String, java.lang.String)} * with data = (String)null.

*/ @QtUninvokable public final void writeProcessingInstruction(java.lang.@NonNull String target) { writeProcessingInstruction(target, (String)null); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy