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
- Since:
- This class was introduced in Qt 4.3.
-
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 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
-- Since:
- This function was introduced in Qt 4.4.
-
addExtraNamespaceDeclarations
@QtUninvokable public final void addExtraNamespaceDeclarations(Collection<? extends QXmlStreamNamespaceDeclaration> extraNamespaceDeclaractions) - Parameters:
extraNamespaceDeclaractions
-- Since:
- This function was introduced in Qt 4.4.
-
atEnd
- Returns:
-
attributes
- Returns:
-
characterOffset
- Returns:
-
clear
-
columnNumber
- Returns:
-
device
- Returns:
-
documentEncoding
- Returns:
- Since:
- This function was introduced in Qt 4.4.
-
documentVersion
- Returns:
- Since:
- This function was introduced in Qt 4.4.
-
dtdName
- Returns:
- Since:
- This function was introduced in Qt 4.4.
-
dtdPublicId
- Returns:
- Since:
- This function was introduced in Qt 4.4.
-
dtdSystemId
- Returns:
- Since:
- This function was introduced in Qt 4.4.
-
entityDeclarations
- Returns:
-
entityExpansionLimit
- Returns:
- Since:
- This function was introduced in Qt 5.15.
-
entityResolver
- Returns:
- Since:
- This function was introduced in Qt 4.4.
-
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:
- Since:
- This function was introduced in Qt 4.4.
-
processingInstructionData
- Returns:
-
processingInstructionTarget
- Returns:
-
qualifiedName
- Returns:
-
raiseError
- Parameters:
message
-
-
readElementText
@QtUninvokable public final String readElementText(QXmlStreamReader.ReadElementTextBehaviour behaviour) - Parameters:
behaviour
-- Returns:
- Since:
- This function was introduced in Qt 4.6.
-
readNext
- Returns:
-
readNextStartElement
- Returns:
- Since:
- This function was introduced in Qt 4.6.
-
setDevice
- Parameters:
device
-
-
setEntityExpansionLimit
- Parameters:
limit
-- Since:
- This function was introduced in Qt 5.15.
-
setEntityResolver
- Parameters:
resolver
-- Since:
- This function was introduced in Qt 4.4.
-
setNamespaceProcessing
- Parameters:
arg__1
-
-
skipCurrentElement
- Since:
- This function was introduced in Qt 4.6.
-
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
.
-