_XMLWriter#

class _XMLWriter(*args, **kwargs)[source]#

Base class for the XML writers, which also support compression.

Note

This class is a private internal implementation detail. It is documented solely so that its public members, which are inherited by public classes, are visible in the documentation.

Parameters:
*argstuple, optional

Positional arguments passed to the parent class.

**kwargsdict, optional

Keyword arguments passed to the parent class.

Inheritance#

Inherited members are documented on BaseWriter, _FileIOBase, _DataFormatMixin.

See them all under Inherited Attributes and Inherited Methods.

Attributes#

_XMLWriter.compression

Return or set the compressor the XML writer uses.

Inherited Attributes#

_DataFormatMixin.data_format

Return or set whether the file is written as 'ascii' or 'binary'.

BaseWriter.data_object

Get or set the dataset to write.

_FileIOBase.extension_patterns

Return mapping from regex pattern matching associated with this class.

_FileIOBase.extensions

Return the file extensions associated with this class.

BaseWriter.path

Return or set the filename or directory of the writer.

BaseWriter.writer

Return the vtk writer object.

BaseWriter.written_path

Return the formatted path of the written files.

Inherited Methods#

BaseWriter.write

Write data to path.