io.qt.core.QXmlStreamReader Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.core;
import io.qt.*;
/**
* Fast parser for reading well-formed XML via a simple streaming API
* Java wrapper for Qt class QXmlStreamReader
*/
public class QXmlStreamReader extends QtObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
@QtPropertyMember(enabled=false)
private Object __rcDevice = null;
@QtPropertyMember(enabled=false)
private Object __rcEntityResolver = null;
/**
* Java wrapper for Qt enum QXmlStreamReader::Error
*/
public enum Error implements QtEnumerator {
/**
* Representing QXmlStreamReader:: NoError
*/
NoError(0),
/**
* Representing QXmlStreamReader:: UnexpectedElementError
*/
UnexpectedElementError(1),
/**
* Representing QXmlStreamReader:: CustomError
*/
CustomError(2),
/**
* Representing QXmlStreamReader:: NotWellFormedError
*/
NotWellFormedError(3),
/**
* Representing QXmlStreamReader:: PrematureEndOfDocumentError
*/
PrematureEndOfDocumentError(4);
static {
QtJambi_LibraryUtilities.initialize();
}
private Error(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull Error resolve(int value) {
switch (value) {
case 0: return NoError;
case 1: return UnexpectedElementError;
case 2: return CustomError;
case 3: return NotWellFormedError;
case 4: return PrematureEndOfDocumentError;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QXmlStreamReader::ReadElementTextBehaviour
*/
public enum ReadElementTextBehaviour implements QtEnumerator {
/**
* Representing QXmlStreamReader:: ErrorOnUnexpectedElement
*/
ErrorOnUnexpectedElement(0),
/**
* Representing QXmlStreamReader:: IncludeChildElements
*/
IncludeChildElements(1),
/**
* Representing QXmlStreamReader:: SkipChildElements
*/
SkipChildElements(2);
static {
QtJambi_LibraryUtilities.initialize();
}
private ReadElementTextBehaviour(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull ReadElementTextBehaviour resolve(int value) {
switch (value) {
case 0: return ErrorOnUnexpectedElement;
case 1: return IncludeChildElements;
case 2: return SkipChildElements;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QXmlStreamReader::TokenType
*/
public enum TokenType implements QtEnumerator {
/**
* Representing QXmlStreamReader:: NoToken
*/
NoToken(0),
/**
* Representing QXmlStreamReader:: Invalid
*/
Invalid(1),
/**
* Representing QXmlStreamReader:: StartDocument
*/
StartDocument(2),
/**
* Representing QXmlStreamReader:: EndDocument
*/
EndDocument(3),
/**
* Representing QXmlStreamReader:: StartElement
*/
StartElement(4),
/**
* Representing QXmlStreamReader:: EndElement
*/
EndElement(5),
/**
* Representing QXmlStreamReader:: Characters
*/
Characters(6),
/**
* Representing QXmlStreamReader:: Comment
*/
Comment(7),
/**
* Representing QXmlStreamReader:: DTD
*/
DTD(8),
/**
* Representing QXmlStreamReader:: EntityReference
*/
EntityReference(9),
/**
* Representing QXmlStreamReader:: ProcessingInstruction
*/
ProcessingInstruction(10);
static {
QtJambi_LibraryUtilities.initialize();
}
private TokenType(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull TokenType resolve(int value) {
switch (value) {
case 0: return NoToken;
case 1: return Invalid;
case 2: return StartDocument;
case 3: return EndDocument;
case 4: return StartElement;
case 5: return EndElement;
case 6: return Characters;
case 7: return Comment;
case 8: return DTD;
case 9: return EntityReference;
case 10: return ProcessingInstruction;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QXmlStreamReader:: QXmlStreamReader()
*/
public QXmlStreamReader(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QXmlStreamReader instance);
/**
* See QXmlStreamReader:: QXmlStreamReader(QAnyStringView)
*/
public QXmlStreamReader(java.lang.@NonNull String data){
super((QPrivateConstructor)null);
initialize_native(this, data);
}
private native static void initialize_native(QXmlStreamReader instance, java.lang.String data);
/**
* See QXmlStreamReader:: QXmlStreamReader(QIODevice*)
*/
public QXmlStreamReader(io.qt.core.@Nullable QIODevice device){
super((QPrivateConstructor)null);
initialize_native(this, device);
__rcDevice = device;
}
private native static void initialize_native(QXmlStreamReader instance, io.qt.core.QIODevice device);
/**
* See QXmlStreamReader:: QXmlStreamReader<void>(QByteArray)
*/
public QXmlStreamReader(io.qt.core.@NonNull QByteArray data){
super((QPrivateConstructor)null);
initialize_native(this, data);
}
private native static void initialize_native(QXmlStreamReader instance, io.qt.core.QByteArray data);
/**
* See QXmlStreamReader:: addData(QAnyStringView)
*/
@QtUninvokable
public final void addData(java.lang.@NonNull String data){
addData_native_QAnyStringView(QtJambi_LibraryUtilities.internal.nativeId(this), data);
}
@QtUninvokable
private native void addData_native_QAnyStringView(long __this__nativeId, java.lang.String data);
/**
* See QXmlStreamReader:: addData<void>(QByteArray)
*/
@QtUninvokable
public final void addData(io.qt.core.@NonNull QByteArray data){
addData_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(data));
}
@QtUninvokable
private native void addData_native_cref_QByteArray(long __this__nativeId, long data);
/**
* See QXmlStreamReader:: addExtraNamespaceDeclaration(QXmlStreamNamespaceDeclaration)
*/
@QtUninvokable
public final void addExtraNamespaceDeclaration(io.qt.core.@NonNull QXmlStreamNamespaceDeclaration extraNamespaceDeclaraction){
addExtraNamespaceDeclaration_native_cref_QXmlStreamNamespaceDeclaration(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(extraNamespaceDeclaraction));
}
@QtUninvokable
private native void addExtraNamespaceDeclaration_native_cref_QXmlStreamNamespaceDeclaration(long __this__nativeId, long extraNamespaceDeclaraction);
/**
* See QXmlStreamReader:: addExtraNamespaceDeclarations(QXmlStreamNamespaceDeclarations)
*/
@QtUninvokable
public final void addExtraNamespaceDeclarations(java.util.@NonNull Collection extends io.qt.core.@NonNull QXmlStreamNamespaceDeclaration> extraNamespaceDeclaractions){
addExtraNamespaceDeclarations_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), extraNamespaceDeclaractions);
}
@QtUninvokable
private native void addExtraNamespaceDeclarations_native_cref_QList(long __this__nativeId, java.util.Collection extends io.qt.core.QXmlStreamNamespaceDeclaration> extraNamespaceDeclaractions);
/**
* See QXmlStreamReader:: atEnd()const
*/
@QtUninvokable
public final boolean atEnd(){
return atEnd_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean atEnd_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: attributes()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QXmlStreamAttributes attributes(){
return attributes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QXmlStreamAttributes attributes_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: characterOffset()const
*/
@QtUninvokable
public final long characterOffset(){
return characterOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long characterOffset_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void clear(){
clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
__rcDevice = null; // clear() call removes device from stream
}
@QtUninvokable
private native void clear_native(long __this__nativeId);
/**
* See QXmlStreamReader:: columnNumber()const
*/
@QtUninvokable
public final long columnNumber(){
return columnNumber_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long columnNumber_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: 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 QXmlStreamReader:: documentEncoding()const
*/
@QtUninvokable
public final java.lang.@NonNull String documentEncoding(){
return documentEncoding_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String documentEncoding_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: documentVersion()const
*/
@QtUninvokable
public final java.lang.@NonNull String documentVersion(){
return documentVersion_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String documentVersion_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: dtdName()const
*/
@QtUninvokable
public final java.lang.@NonNull String dtdName(){
return dtdName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String dtdName_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: dtdPublicId()const
*/
@QtUninvokable
public final java.lang.@NonNull String dtdPublicId(){
return dtdPublicId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String dtdPublicId_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: dtdSystemId()const
*/
@QtUninvokable
public final java.lang.@NonNull String dtdSystemId(){
return dtdSystemId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String dtdSystemId_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: entityDeclarations()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList entityDeclarations(){
return entityDeclarations_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList entityDeclarations_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: entityExpansionLimit()const
*/
@QtUninvokable
public final int entityExpansionLimit(){
return entityExpansionLimit_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int entityExpansionLimit_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: entityResolver()const
*/
@QtUninvokable
public final io.qt.core.@Nullable QXmlStreamEntityResolver entityResolver(){
return entityResolver_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QXmlStreamEntityResolver entityResolver_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: error()const
*/
@QtUninvokable
public final io.qt.core.QXmlStreamReader.@NonNull Error error(){
return io.qt.core.QXmlStreamReader.Error.resolve(error_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int error_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: errorString()const
*/
@QtUninvokable
public final java.lang.@NonNull String errorString(){
return errorString_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String errorString_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: 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 QXmlStreamReader:: hasStandaloneDeclaration()const
*/
@QtUninvokable
public final boolean hasStandaloneDeclaration(){
return hasStandaloneDeclaration_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasStandaloneDeclaration_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: isCDATA()const
*/
@QtUninvokable
public final boolean isCDATA(){
return isCDATA_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isCDATA_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: isCharacters()const
*/
@QtUninvokable
public final boolean isCharacters(){
return isCharacters_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isCharacters_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: isComment()const
*/
@QtUninvokable
public final boolean isComment(){
return isComment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isComment_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: isDTD()const
*/
@QtUninvokable
public final boolean isDTD(){
return isDTD_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isDTD_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: isEndDocument()const
*/
@QtUninvokable
public final boolean isEndDocument(){
return isEndDocument_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isEndDocument_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: isEndElement()const
*/
@QtUninvokable
public final boolean isEndElement(){
return isEndElement_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isEndElement_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: isEntityReference()const
*/
@QtUninvokable
public final boolean isEntityReference(){
return isEntityReference_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isEntityReference_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: isProcessingInstruction()const
*/
@QtUninvokable
public final boolean isProcessingInstruction(){
return isProcessingInstruction_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isProcessingInstruction_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: isStandaloneDocument()const
*/
@QtUninvokable
public final boolean isStandaloneDocument(){
return isStandaloneDocument_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isStandaloneDocument_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: isStartDocument()const
*/
@QtUninvokable
public final boolean isStartDocument(){
return isStartDocument_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isStartDocument_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: isStartElement()const
*/
@QtUninvokable
public final boolean isStartElement(){
return isStartElement_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isStartElement_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: isWhitespace()const
*/
@QtUninvokable
public final boolean isWhitespace(){
return isWhitespace_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isWhitespace_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: lineNumber()const
*/
@QtUninvokable
public final long lineNumber(){
return lineNumber_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long lineNumber_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: name()const
*/
@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 QXmlStreamReader:: namespaceDeclarations()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList namespaceDeclarations(){
return namespaceDeclarations_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList namespaceDeclarations_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: namespaceProcessing()const
*/
@QtUninvokable
public final boolean namespaceProcessing(){
return namespaceProcessing_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean namespaceProcessing_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: namespaceUri()const
*/
@QtUninvokable
public final java.lang.@NonNull String namespaceUri(){
return namespaceUri_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String namespaceUri_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: notationDeclarations()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList notationDeclarations(){
return notationDeclarations_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList notationDeclarations_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: prefix()const
*/
@QtUninvokable
public final java.lang.@NonNull String prefix(){
return prefix_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String prefix_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: processingInstructionData()const
*/
@QtUninvokable
public final java.lang.@NonNull String processingInstructionData(){
return processingInstructionData_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String processingInstructionData_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: processingInstructionTarget()const
*/
@QtUninvokable
public final java.lang.@NonNull String processingInstructionTarget(){
return processingInstructionTarget_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String processingInstructionTarget_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: qualifiedName()const
*/
@QtUninvokable
public final java.lang.@NonNull String qualifiedName(){
return qualifiedName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String qualifiedName_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: raiseError(QString)
*/
@QtUninvokable
public final void raiseError(java.lang.@NonNull String message){
raiseError_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), message);
}
@QtUninvokable
private native void raiseError_native_cref_QString(long __this__nativeId, java.lang.String message);
/**
* See QXmlStreamReader:: readElementText(QXmlStreamReader::ReadElementTextBehaviour)
*/
@QtUninvokable
public final java.lang.@NonNull String readElementText(io.qt.core.QXmlStreamReader.@NonNull ReadElementTextBehaviour behaviour){
return readElementText_native_QXmlStreamReader_ReadElementTextBehaviour(QtJambi_LibraryUtilities.internal.nativeId(this), behaviour.value());
}
@QtUninvokable
private native java.lang.String readElementText_native_QXmlStreamReader_ReadElementTextBehaviour(long __this__nativeId, int behaviour);
/**
* See QXmlStreamReader:: readNext()
*/
@QtUninvokable
public final io.qt.core.QXmlStreamReader.@NonNull TokenType readNext(){
return io.qt.core.QXmlStreamReader.TokenType.resolve(readNext_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int readNext_native(long __this__nativeId);
/**
* See QXmlStreamReader:: readNextStartElement()
*/
@QtUninvokable
public final boolean readNextStartElement(){
return readNextStartElement_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean readNextStartElement_native(long __this__nativeId);
/**
* See QXmlStreamReader:: 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 QXmlStreamReader:: setEntityExpansionLimit(int)
*/
@QtUninvokable
public final void setEntityExpansionLimit(int limit){
setEntityExpansionLimit_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), limit);
}
@QtUninvokable
private native void setEntityExpansionLimit_native_int(long __this__nativeId, int limit);
/**
* See QXmlStreamReader:: setEntityResolver(QXmlStreamEntityResolver*)
*/
@QtUninvokable
public final void setEntityResolver(io.qt.core.@Nullable QXmlStreamEntityResolver resolver){
setEntityResolver_native_QXmlStreamEntityResolver_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(resolver));
__rcEntityResolver = resolver;
}
@QtUninvokable
private native void setEntityResolver_native_QXmlStreamEntityResolver_ptr(long __this__nativeId, long resolver);
/**
* See QXmlStreamReader:: setNamespaceProcessing(bool)
*/
@QtUninvokable
public final void setNamespaceProcessing(boolean arg__1){
setNamespaceProcessing_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@QtUninvokable
private native void setNamespaceProcessing_native_bool(long __this__nativeId, boolean arg__1);
/**
* See QXmlStreamReader:: skipCurrentElement()
*/
@QtUninvokable
public final void skipCurrentElement(){
skipCurrentElement_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void skipCurrentElement_native(long __this__nativeId);
/**
* See QXmlStreamReader:: text()const
*/
@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 QXmlStreamReader:: tokenString()const
*/
@QtUninvokable
public final java.lang.@NonNull String tokenString(){
return tokenString_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String tokenString_native_constfct(long __this__nativeId);
/**
* See QXmlStreamReader:: tokenType()const
*/
@QtUninvokable
public final io.qt.core.QXmlStreamReader.@NonNull TokenType tokenType(){
return io.qt.core.QXmlStreamReader.TokenType.resolve(tokenType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int tokenType_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QXmlStreamReader(QPrivateConstructor p) { super(p); }
/**
* Overloaded constructor for {@link #QXmlStreamReader(io.qt.core.QByteArray)}.
*/
public QXmlStreamReader(byte @NonNull[] data) {
this(new io.qt.core.QByteArray(data));
}
/**
* Overloaded function for {@link #addData(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final void addData(byte @NonNull[] data) {
addData(new io.qt.core.QByteArray(data));
}
/**
* Overloaded function for {@link #raiseError(java.lang.String)}
* with message = (String)null
.
*/
@QtUninvokable
public final void raiseError() {
raiseError((String)null);
}
/**
* Overloaded function for {@link #readElementText(io.qt.core.QXmlStreamReader.ReadElementTextBehaviour)}
* with behaviour = io.qt.core.QXmlStreamReader.ReadElementTextBehaviour.ErrorOnUnexpectedElement
.
*/
@QtUninvokable
public final java.lang.@NonNull String readElementText() {
return readElementText(io.qt.core.QXmlStreamReader.ReadElementTextBehaviour.ErrorOnUnexpectedElement);
}
}