Package org.orekit.files.ccsds.ndm.odm
Class SpacecraftParametersWriter
- java.lang.Object
-
- org.orekit.files.ccsds.section.AbstractWriter
-
- org.orekit.files.ccsds.ndm.odm.SpacecraftParametersWriter
-
public class SpacecraftParametersWriter extends AbstractWriter
Writer for spacecraft parameters data.- Since:
- 11.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description SpacecraftParametersWriter(String xmlTag, String kvnTag, SpacecraftParameters spacecraftParameters)
Create a writer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
writeContent(Generator generator)
Write the content of the section, excluding surrounding tags.-
Methods inherited from class org.orekit.files.ccsds.section.AbstractWriter
enterSection, exitSection, intArrayToString, write
-
-
-
-
Constructor Detail
-
SpacecraftParametersWriter
public SpacecraftParametersWriter(String xmlTag, String kvnTag, SpacecraftParameters spacecraftParameters)
Create a writer.- Parameters:
xmlTag
- name of the XML tag surrounding the sectionkvnTag
- name of the KVN tag surrounding the section (may be null)spacecraftParameters
- spacecraft parameters 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 classAbstractWriter
- Parameters:
generator
- generator to use for producing output- Throws:
IOException
- if any buffer writing operations fails
-
-