java.lang.Object
io.qt.QtObject
io.qt.core.QXmlStreamWriter
- All Implemented Interfaces:
QtObjectInterface
XML writer with a simple streaming API
Java wrapper for Qt class QXmlStreamWriter
- Since:
- This class was introduced in Qt 4.3.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
final int
final QTextCodec
codec()
final QIODevice
device()
final boolean
hasError()
final void
setAutoFormatting
(boolean arg__1) final void
setAutoFormattingIndent
(int spacesOrTabs) final void
setCodec
(QTextCodec codec) final void
final void
final void
writeAttribute
(QXmlStreamAttribute attribute) final void
writeAttribute
(String qualifiedName, String value) final void
writeAttribute
(String namespaceUri, String name, String value) final void
writeAttributes
(QXmlStreamAttributes attributes) final void
writeCDATA
(String text) final void
writeCharacters
(String text) final void
writeComment
(String text) final void
writeCurrentToken
(QXmlStreamReader reader) final void
writeDefaultNamespace
(String namespaceUri) final void
final void
writeEmptyElement
(String qualifiedName) final void
writeEmptyElement
(String namespaceUri, String name) final void
final void
final void
writeEntityReference
(String name) final void
writeNamespace
(String namespaceUri) Overloaded function forwriteNamespace(java.lang.String, java.lang.String)
withprefix = (String)null
.final void
writeNamespace
(String namespaceUri, String prefix) final void
writeProcessingInstruction
(String target) Overloaded function forwriteProcessingInstruction(java.lang.String, java.lang.String)
withdata = (String)null
.final void
writeProcessingInstruction
(String target, String data) final void
final void
writeStartDocument
(String version) final void
writeStartDocument
(String version, boolean standalone) final void
writeStartElement
(String qualifiedName) final void
writeStartElement
(String namespaceUri, String name) final void
writeTextElement
(String qualifiedName, String text) final void
writeTextElement
(String namespaceUri, String name, String text) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QXmlStreamWriter
public QXmlStreamWriter() -
QXmlStreamWriter
- Parameters:
array
-
-
QXmlStreamWriter
- Parameters:
device
-
-
-
Method Details
-
autoFormatting
- Returns:
- Since:
- This function was introduced in Qt 4.4.
-
autoFormattingIndent
- Returns:
-
codec
- Returns:
-
device
- Returns:
-
hasError
- Returns:
-
setAutoFormatting
- Parameters:
arg__1
-- Since:
- This function was introduced in Qt 4.4.
-
setAutoFormattingIndent
- Parameters:
spacesOrTabs
-
-
setCodec
- Parameters:
codec
-
-
setCodec
- Parameters:
codecName
-
-
setDevice
- Parameters:
device
-
-
writeAttribute
- Parameters:
qualifiedName
-value
-
-
writeAttribute
- Parameters:
namespaceUri
-name
-value
-
-
writeAttribute
- Parameters:
attribute
-
-
writeAttributes
- Parameters:
attributes
-
-
writeCDATA
- Parameters:
text
-
-
writeCharacters
- Parameters:
text
-
-
writeComment
- Parameters:
text
-
-
writeCurrentToken
- Parameters:
reader
-
-
writeDTD
- Parameters:
dtd
-
-
writeDefaultNamespace
- Parameters:
namespaceUri
-
-
writeEmptyElement
- Parameters:
qualifiedName
-
-
writeEmptyElement
- Parameters:
namespaceUri
-name
-
-
writeEndDocument
-
writeEndElement
-
writeEntityReference
- Parameters:
name
-
-
writeNamespace
- Parameters:
namespaceUri
-prefix
-
-
writeProcessingInstruction
- Parameters:
target
-data
-
-
writeStartDocument
- Since:
- This function was introduced in Qt 4.5.
-
writeStartDocument
- Parameters:
version
-
-
writeStartDocument
- Parameters:
version
-standalone
-- Since:
- This function was introduced in Qt 4.5.
-
writeStartElement
- Parameters:
qualifiedName
-
-
writeStartElement
- Parameters:
namespaceUri
-name
-
-
writeTextElement
- Parameters:
qualifiedName
-text
-
-
writeTextElement
- Parameters:
namespaceUri
-name
-text
-
-
writeNamespace
Overloaded function for
writeNamespace(java.lang.String, java.lang.String)
withprefix = (String)null
. -
writeProcessingInstruction
Overloaded function for
writeProcessingInstruction(java.lang.String, java.lang.String)
withdata = (String)null
.
-