Class StateVectorWriter

java.lang.Object
org.orekit.files.ccsds.section.AbstractWriter
org.orekit.files.ccsds.ndm.odm.StateVectorWriter

public class StateVectorWriter extends AbstractWriter
Writer for state vector data.
Since:
11.0
Author:
Luc Maisonobe
  • Constructor Details

    • StateVectorWriter

      public StateVectorWriter(String xmlTag, String kvnTag, StateVector stateVector, TimeConverter timeConverter)
      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)
      stateVector - state vector to write
      timeConverter - converter for dates
  • Method Details

    • 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