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

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

The newest version!
package io.qt.core;


/**
 * 

XML writer with a simple streaming API

*

Java wrapper for Qt class QXmlStreamWriter

*/ public class QXmlStreamWriter extends io.qt.QtObject { static { QtJambi_LibraryUtilities.initialize(); } @io.qt.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.QByteArray array){ super((QPrivateConstructor)null); java.util.Objects.requireNonNull(array, "Argument 'array': null not expected."); 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.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

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

See QXmlStreamWriter::autoFormattingIndent()const

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

See QXmlStreamWriter::device()const

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

See QXmlStreamWriter::hasError()const

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

See QXmlStreamWriter::setAutoFormatting(bool)

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

See QXmlStreamWriter::setAutoFormattingIndent(int)

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

See QXmlStreamWriter::setDevice(QIODevice*)

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

See QXmlStreamWriter::writeAttribute(QString,QString,QString)

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

See QXmlStreamWriter::writeAttribute(QString,QString)

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

See QXmlStreamWriter::writeAttribute(QXmlStreamAttribute)

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

See QXmlStreamWriter::writeAttributes(QXmlStreamAttributes)

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

See QXmlStreamWriter::writeCDATA(QString)

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

See QXmlStreamWriter::writeCharacters(QString)

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

See QXmlStreamWriter::writeComment(QString)

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

See QXmlStreamWriter::writeCurrentToken(QXmlStreamReader)

*/ @io.qt.QtUninvokable public final void writeCurrentToken(io.qt.core.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)); } @io.qt.QtUninvokable private native void writeCurrentToken_native_cref_QXmlStreamReader(long __this__nativeId, long reader); /** *

See QXmlStreamWriter::writeDTD(QString)

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

See QXmlStreamWriter::writeDefaultNamespace(QString)

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

See QXmlStreamWriter::writeEmptyElement(QString,QString)

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

See QXmlStreamWriter::writeEmptyElement(QString)

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

See QXmlStreamWriter::writeEndDocument()

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

See QXmlStreamWriter::writeEndElement()

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

See QXmlStreamWriter::writeEntityReference(QString)

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

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

*/ @io.qt.QtUninvokable public final void writeNamespace(java.lang.String namespaceUri) { writeNamespace(namespaceUri, ""); } /** *

See QXmlStreamWriter::writeNamespace(QString,QString)

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

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

*/ @io.qt.QtUninvokable public final void writeProcessingInstruction(java.lang.String target) { writeProcessingInstruction(target, ""); } /** *

See QXmlStreamWriter::writeProcessingInstruction(QString,QString)

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

See QXmlStreamWriter::writeStartDocument()

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

See QXmlStreamWriter::writeStartDocument(QString)

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

See QXmlStreamWriter::writeStartDocument(QString,bool)

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

See QXmlStreamWriter::writeStartElement(QString,QString)

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

See QXmlStreamWriter::writeStartElement(QString)

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

See QXmlStreamWriter::writeTextElement(QString,QString,QString)

*/ @io.qt.QtUninvokable public final void writeTextElement(java.lang.String namespaceUri, java.lang.String name, java.lang.String text){ writeTextElement_native_cref_QString_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), namespaceUri, name, text); } @io.qt.QtUninvokable private native void writeTextElement_native_cref_QString_cref_QString_cref_QString(long __this__nativeId, java.lang.String namespaceUri, java.lang.String name, java.lang.String text); /** *

See QXmlStreamWriter::writeTextElement(QString,QString)

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy