java.lang.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 class QXmlStreamReader
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQXmlStreamReader::Error
static enum
Java wrapper for Qt enumQXmlStreamReader::ReadElementTextBehaviour
static enum
Java wrapper for Qt enumQXmlStreamReader::TokenType
-
Constructor Summary
ConstructorDescriptionQXmlStreamReader
(byte [] data) Overloaded constructor forQXmlStreamReader(io.qt.core.QByteArray)
.QXmlStreamReader
(QByteArray data) QXmlStreamReader
(QIODevice device) QXmlStreamReader
(String data) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addData
(byte [] data) Overloaded function foraddData(io.qt.core.QByteArray)
.final 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 QList<QXmlStreamEntityDeclaration>
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
- Parameters:
data
-
-
QXmlStreamReader
- Parameters:
device
-
-
QXmlStreamReader
- Parameters:
data
-
-
QXmlStreamReader
public QXmlStreamReader(byte [] data) Overloaded constructor for
QXmlStreamReader(io.qt.core.QByteArray)
.
-
-
Method Details
-
addData
- Parameters:
data
-
-
addData
- Parameters:
data
-
-
addExtraNamespaceDeclaration
@QtUninvokable public final void addExtraNamespaceDeclaration(QXmlStreamNamespaceDeclaration extraNamespaceDeclaraction) - Parameters:
extraNamespaceDeclaraction
-
-
addExtraNamespaceDeclarations
@QtUninvokable public final void addExtraNamespaceDeclarations(Collection<? extends QXmlStreamNamespaceDeclaration> extraNamespaceDeclaractions) - Parameters:
extraNamespaceDeclaractions
-
-
atEnd
- Returns:
-
attributes
- Returns:
-
characterOffset
- Returns:
-
clear
-
columnNumber
- Returns:
-
device
- Returns:
-
documentEncoding
- Returns:
-
documentVersion
- Returns:
-
dtdName
- Returns:
-
dtdPublicId
- Returns:
-
dtdSystemId
- Returns:
-
entityDeclarations
- Returns:
-
entityExpansionLimit
- Returns:
-
entityResolver
- Returns:
-
error
- Returns:
-
errorString
- Returns:
-
hasError
- Returns:
-
isCDATA
- Returns:
-
isCharacters
- Returns:
-
isComment
- Returns:
-
isDTD
- Returns:
-
isEndDocument
- Returns:
-
isEndElement
- Returns:
-
isEntityReference
- Returns:
-
isProcessingInstruction
- Returns:
-
isStandaloneDocument
- Returns:
-
isStartDocument
- Returns:
-
isStartElement
- Returns:
-
isWhitespace
- Returns:
-
lineNumber
- Returns:
-
name
- Returns:
-
namespaceDeclarations
- Returns:
-
namespaceProcessing
- Returns:
-
namespaceUri
- Returns:
-
notationDeclarations
- Returns:
-
prefix
- Returns:
-
processingInstructionData
- Returns:
-
processingInstructionTarget
- Returns:
-
qualifiedName
- Returns:
-
raiseError
- Parameters:
message
-
-
readElementText
@QtUninvokable public final String readElementText(QXmlStreamReader.ReadElementTextBehaviour behaviour) - Parameters:
behaviour
-- Returns:
-
readNext
- Returns:
-
readNextStartElement
- Returns:
-
setDevice
- Parameters:
device
-
-
setEntityExpansionLimit
- Parameters:
limit
-
-
setEntityResolver
- Parameters:
resolver
-
-
setNamespaceProcessing
- Parameters:
arg__1
-
-
skipCurrentElement
-
text
- Returns:
-
tokenString
- Returns:
-
tokenType
- Returns:
-
addData
Overloaded function for
addData(io.qt.core.QByteArray)
. -
raiseError
Overloaded function for
raiseError(java.lang.String)
withmessage = (String)null
. -
readElementText
Overloaded function for
readElementText(io.qt.core.QXmlStreamReader.ReadElementTextBehaviour)
withbehaviour = io.qt.core.QXmlStreamReader.ReadElementTextBehaviour.ErrorOnUnexpectedElement
.
-