Class ApmWriter
- java.lang.Object
 - 
- org.orekit.files.ccsds.utils.generation.AbstractMessageWriter<AdmHeader,Segment<AdmMetadata,ApmData>,Apm>
 - 
- org.orekit.files.ccsds.ndm.adm.apm.ApmWriter
 
 
 
- 
- All Implemented Interfaces:
 MessageWriter<AdmHeader,Segment<AdmMetadata,ApmData>,Apm>
public class ApmWriter extends AbstractMessageWriter<AdmHeader,Segment<AdmMetadata,ApmData>,Apm>
Writer for CCSDS Orbit Parameter Message.- Since:
 - 11.0
 - Author:
 - Luc Maisonobe
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static doubleCCSDS_APM_VERSVersion number implemented.static intKVN_PADDING_WIDTHPadding width for aligning the '=' sign.- 
Fields inherited from class org.orekit.files.ccsds.utils.generation.AbstractMessageWriter
DEFAULT_ORIGINATOR 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ApmWriter(IERSConventions conventions, DataContext dataContext, AbsoluteDate missionReferenceDate)Complete constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidwriteSegmentContent(Generator generator, double formatVersion, Segment<AdmMetadata,ApmData> segment)Write one segment content (without XML wrapping).- 
Methods inherited from class org.orekit.files.ccsds.utils.generation.AbstractMessageWriter
getContext, getDefaultVersion, getFormatVersionKey, getRoot, getTimeConverter, getVersion, setContext, writeFooter, writeHeader, writeSegment 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface org.orekit.files.ccsds.utils.generation.MessageWriter
writeMessage 
 - 
 
 - 
 
- 
- 
Field Detail
- 
CCSDS_APM_VERS
public static final double CCSDS_APM_VERS
Version number implemented.- See Also:
 - Constant Field Values
 
 
- 
KVN_PADDING_WIDTH
public static final int KVN_PADDING_WIDTH
Padding width for aligning the '=' sign.- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
ApmWriter
public ApmWriter(IERSConventions conventions, DataContext dataContext, AbsoluteDate missionReferenceDate)
Complete constructor.Calling this constructor directly is not recommended. Users should rather use
writerBuilder.buildOpmWriter().- Parameters:
 conventions- IERS ConventionsdataContext- used to retrieve frames, time scales, etc.missionReferenceDate- reference date for Mission Elapsed Time or Mission Relative Time time systems
 
 - 
 
- 
Method Detail
- 
writeSegmentContent
protected void writeSegmentContent(Generator generator, double formatVersion, Segment<AdmMetadata,ApmData> segment) throws IOException
Write one segment content (without XML wrapping).- Specified by:
 writeSegmentContentin classAbstractMessageWriter<AdmHeader,Segment<AdmMetadata,ApmData>,Apm>- Parameters:
 generator- generator to use for producing outputformatVersion- format version to usesegment- segment to write- Throws:
 IOException- if any buffer writing operations fails
 
 - 
 
 -