public class OpmWriter extends AbstractMessageWriter<Header,Segment<CommonMetadata,OpmData>,Opm>
| Modifier and Type | Field and Description |
|---|---|
static double |
CCSDS_OPM_VERS
Version number implemented.
|
static int |
KVN_PADDING_WIDTH
Padding width for aligning the '=' sign.
|
DEFAULT_ORIGINATOR| Constructor and Description |
|---|
OpmWriter(IERSConventions conventions,
DataContext dataContext,
AbsoluteDate missionReferenceDate)
Complete constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
writeSegmentContent(Generator generator,
double formatVersion,
Segment<CommonMetadata,OpmData> segment)
Write one segment content (without XML wrapping).
|
getContext, getDefaultVersion, getTimeConverter, setContext, writeFooter, writeHeader, writeSegmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteMessagepublic static final double CCSDS_OPM_VERS
public static final int KVN_PADDING_WIDTH
public OpmWriter(IERSConventions conventions, DataContext dataContext, AbsoluteDate missionReferenceDate)
Calling this constructor directly is not recommended. Users should rather use
writerBuilder.buildOpmWriter().
conventions - IERS ConventionsdataContext - used to retrieve frames, time scales, etc.missionReferenceDate - reference date for Mission Elapsed Time or Mission Relative Time time systemspublic void writeSegmentContent(Generator generator, double formatVersion, Segment<CommonMetadata,OpmData> segment) throws IOException
writeSegmentContent in class AbstractMessageWriter<Header,Segment<CommonMetadata,OpmData>,Opm>generator - generator to use for producing outputformatVersion - format version to usesegment - segment to writeIOException - if any buffer writing operations failsCopyright © 2002-2022 CS GROUP. All rights reserved.