xml.StaxWriter methods
Methods for the xml.StaxWriter
class.
Name | Description |
---|---|
|
Constructor of a StaxWriter object. |
Name | Description |
---|---|
|
Gets a feature of a StaxWriter object. |
|
Sets a feature of a StaxWriter object. |
Name | Description |
---|---|
|
Closes the StaxWriter streaming, and releases all associated resources. |
|
Sets the output stream of the StaxWriter object to a file or an URL, and starts the streaming. |
|
Sets the output stream of the StaxWriter object to an xml.DomDocument object, and starts the streaming. |
|
Sets the output stream of the StaxWriter object to a PIPE, and starts the streaming. |
|
Sets the output stream of the StaxWriter object to a TEXT large object, and starts the streaming. |
Name | Description |
---|---|
|
Writes a DTD to the StaxWriter stream. |
|
Closes any open tags and writes corresponding end tags. |
|
Writes a XML declaration to the StaxWriter stream. |
Name | Description |
---|---|
|
Binds a namespace URI to the default namespace, and forces the output to the StaxWriter stream. |
|
Binds a namespace URI to a prefix, and forces the output of the XML namespace definition to the StaxWriter stream. |
|
Binds a namespace URI to the default namespace. |
|
Binds a namespace URI to a prefix. |
Name | Description |
---|---|
|
Writes a XML attribute to the StaxWriter stream. |
|
Writes a XML namespace qualified attribute to the StaxWriter stream. |
|
Writes a XML CData to the StaxWriter stream. |
|
Writes a XML text to the StaxWriter stream. |
|
Writes a XML comment to the StaxWriter stream. |
|
Writes an empty XML element to the StaxWriter stream. |
|
Writes an empty namespace qualified XML element to the StaxWriter stream. |
|
Writes an end tag to the StaxWriter stream. |
|
Writes a XML EntityReference to the StaxWriter stream. |
|
Writes a XML ProcessingInstruction to the StaxWriter stream |
|
Writes a XML start element to the StaxWriter stream. |
|
Writes a namespace-qualified XML start element to the StaxWriter stream. |