java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.core.QXmlStreamReader
- All Implemented Interfaces:
QtObjectInterface
Fast parser for reading well-formed XML via a simple streaming API
Java wrapper for Qt's class QXmlStreamReader
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QXmlStreamReader::Errorstatic enum
Java wrapper for Qt enum QXmlStreamReader::ReadElementTextBehaviourstatic enum
Java wrapper for Qt enum QXmlStreamReader::TokenTypeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQXmlStreamReader
(QByteArray data) QXmlStreamReader
(QIODevice device) protected
Constructor for internal use only.QXmlStreamReader
(String data) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addData
(QByteArray data) final void
final void
addExtraNamespaceDeclaration
(QXmlStreamNamespaceDeclaration extraNamespaceDeclaraction) final void
addExtraNamespaceDeclarations
(Collection<? extends QXmlStreamNamespaceDeclaration> extraNamespaceDeclaractions) final boolean
atEnd()
final QXmlStreamAttributes
final long
final void
clear()
final long
final QIODevice
device()
final String
final String
final String
dtdName()
final String
final String
final int
final QXmlStreamEntityResolver
final QXmlStreamReader.Error
error()
final String
final boolean
hasError()
final boolean
isCDATA()
final boolean
final boolean
final boolean
isDTD()
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final long
final String
name()
final boolean
final String
final String
prefix()
final String
final String
final String
final void
Overloaded function forraiseError(java.lang.String)
withmessage = (String)null
.final void
raiseError
(String message) final String
Overloaded function forreadElementText(io.qt.core.QXmlStreamReader.ReadElementTextBehaviour)
withbehaviour = io.qt.core.QXmlStreamReader.ReadElementTextBehaviour.ErrorOnUnexpectedElement
.final String
readNext()
final boolean
final void
final void
setEntityExpansionLimit
(int limit) final void
setEntityResolver
(QXmlStreamEntityResolver resolver) final void
setNamespaceProcessing
(boolean arg__1) final void
final String
text()
final String
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QXmlStreamReader
public QXmlStreamReader() -
QXmlStreamReader
-
QXmlStreamReader
-
QXmlStreamReader
-
QXmlStreamReader
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addData
-
addData
-
addExtraNamespaceDeclaration
@QtUninvokable public final void addExtraNamespaceDeclaration(QXmlStreamNamespaceDeclaration extraNamespaceDeclaraction) -
addExtraNamespaceDeclarations
@QtUninvokable public final void addExtraNamespaceDeclarations(Collection<? extends QXmlStreamNamespaceDeclaration> extraNamespaceDeclaractions) -
atEnd
-
attributes
-
characterOffset
-
clear
-
columnNumber
-
device
-
documentEncoding
-
documentVersion
-
dtdName
-
dtdPublicId
-
dtdSystemId
-
entityDeclarations
-
entityExpansionLimit
-
entityResolver
-
error
-
errorString
-
hasError
-
isCDATA
-
isCharacters
-
isComment
-
isDTD
-
isEndDocument
-
isEndElement
-
isEntityReference
-
isProcessingInstruction
-
isStandaloneDocument
-
isStartDocument
-
isStartElement
-
isWhitespace
-
lineNumber
-
name
-
namespaceDeclarations
-
namespaceProcessing
-
namespaceUri
-
notationDeclarations
-
prefix
-
processingInstructionData
-
processingInstructionTarget
-
qualifiedName
-
raiseError
Overloaded function for
raiseError(java.lang.String)
withmessage = (String)null
. -
raiseError
-
readElementText
Overloaded function for
readElementText(io.qt.core.QXmlStreamReader.ReadElementTextBehaviour)
withbehaviour = io.qt.core.QXmlStreamReader.ReadElementTextBehaviour.ErrorOnUnexpectedElement
. -
readElementText
@QtUninvokable public final String readElementText(QXmlStreamReader.ReadElementTextBehaviour behaviour) -
readNext
-
readNextStartElement
-
setDevice
-
setEntityExpansionLimit
-
setEntityResolver
-
setNamespaceProcessing
-
skipCurrentElement
-
text
-
tokenString
-
tokenType
-