XMLWriter
=========

.. currentmodule:: astropy.utils.xml.writer

.. autoclass:: XMLWriter
   :show-inheritance:

   .. rubric:: Methods Summary

   .. autosummary::

      ~XMLWriter.close
      ~XMLWriter.comment
      ~XMLWriter.data
      ~XMLWriter.element
      ~XMLWriter.end
      ~XMLWriter.flush
      ~XMLWriter.get_indentation
      ~XMLWriter.get_indentation_spaces
      ~XMLWriter.object_attrs
      ~XMLWriter.start
      ~XMLWriter.tag
      ~XMLWriter.xml_cleaning_method

   .. rubric:: Methods Documentation

   .. automethod:: close
   .. automethod:: comment
   .. automethod:: data
   .. automethod:: element
   .. automethod:: end
   .. automethod:: flush
   .. automethod:: get_indentation
   .. automethod:: get_indentation_spaces
   .. automethod:: object_attrs
   .. automethod:: start
   .. automethod:: tag
   .. automethod:: xml_cleaning_method
