public class AcmWriter extends AbstractMessageWriter<AdmHeader,Segment<AcmMetadata,AcmData>,Acm>
Modifier and Type | Field and Description |
---|---|
static double |
CCSDS_ACM_VERS
Version number implemented.
|
static int |
KVN_PADDING_WIDTH
Padding width for aligning the '=' sign.
|
DEFAULT_ORIGINATOR
Constructor and Description |
---|
AcmWriter(IERSConventions conventions,
DataContext dataContext)
Complete constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
writeSegmentContent(Generator generator,
double formatVersion,
Segment<AcmMetadata,AcmData> segment)
Write one segment content (without XML wrapping).
|
getContext, getDefaultVersion, getFormatVersionKey, getRoot, getTimeConverter, getVersion, setContext, writeFooter, writeHeader, writeSegment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeMessage
public static final double CCSDS_ACM_VERS
public static final int KVN_PADDING_WIDTH
public AcmWriter(IERSConventions conventions, DataContext dataContext)
Calling this constructor directly is not recommended. Users should rather use
writerBuilder.buildAcmWriter()
.
conventions
- IERS ConventionsdataContext
- used to retrieve frames, time scales, etc.protected void writeSegmentContent(Generator generator, double formatVersion, Segment<AcmMetadata,AcmData> segment) throws IOException
writeSegmentContent
in class AbstractMessageWriter<AdmHeader,Segment<AcmMetadata,AcmData>,Acm>
generator
- generator to use for producing outputformatVersion
- format version to usesegment
- segment to writeIOException
- if any buffer writing operations failsCopyright © 2002-2023 CS GROUP. All rights reserved.