Class CartesianCovarianceWriter


  • public class CartesianCovarianceWriter
    extends AbstractWriter
    Writer for covariance matrix data.
    Since:
    11.0
    Author:
    Luc Maisonobe
    • Constructor Detail

      • CartesianCovarianceWriter

        public CartesianCovarianceWriter​(String xmlTag,
                                         String kvnTag,
                                         CartesianCovariance covariance)
        Create a writer.
        Parameters:
        xmlTag - name of the XML tag surrounding the section
        kvnTag - name of the KVN tag surrounding the section (may be null)
        covariance - covariance matrix to write
    • Method Detail

      • writeContent

        protected void writeContent​(Generator generator)
                             throws IOException
        Write the content of the section, excluding surrounding tags.
        Specified by:
        writeContent in class AbstractWriter
        Parameters:
        generator - generator to use for producing output
        Throws:
        IOException - if any buffer writing operations fails