T
- type of the fileP
- type of the parserpublic abstract class AdmParser<T extends NdmConstituent<?,?>,P extends AbstractConstituentParser<T,?>> extends AbstractConstituentParser<T,P>
Note than starting with Orekit 11.0, CCSDS message parsers are
mutable objects that gather the data being parsed, until the
message is complete and the parseMessage
method has returned. This implies that parsers
should not be used in a multi-thread context. The recommended
way to use parsers is to either dedicate one parser for each message
and drop it afterwards, or to use a single-thread loop.
Modifier and Type | Class and Description |
---|---|
static interface |
AdmParser.RotationOrderConsumer
Interface representing instance methods that consume otation order values.
|
Modifier | Constructor and Description |
---|---|
protected |
AdmParser(String root,
String formatVersionKey,
IERSConventions conventions,
boolean simpleEOP,
DataContext dataContext,
AbsoluteDate missionReferenceDate,
ParsedUnitsBehavior parsedUnitsBehavior)
Complete constructor.
|
Modifier and Type | Method and Description |
---|---|
AbsoluteDate |
getMissionReferenceDate()
Get reference date for Mission Elapsed Time and Mission Relative Time time systems.
|
Map<String,XmlTokenBuilder> |
getSpecialXmlElementsBuilders()
Get the non-default token builders for special XML elements.
|
static boolean |
processRotationOrder(ParseToken sequence,
AdmParser.RotationOrderConsumer consumer)
Process a CCSDS Euler angles sequence as a
RotationOrder . |
finalizeData, finalizeHeader, finalizeMetadata, getConventions, getDataContext, getHeader, getParsedUnitsBehavior, inData, inHeader, inMetadata, isSimpleEOP, prepareData, prepareHeader, prepareMetadata
anticipateNext, getCurrent, getFileFormat, getFormatVersionKey, parseMessage, process, reset, setEndTagSeen, setFallback, wasEndTagSeen
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build, reset
protected AdmParser(String root, String formatVersionKey, IERSConventions conventions, boolean simpleEOP, DataContext dataContext, AbsoluteDate missionReferenceDate, ParsedUnitsBehavior parsedUnitsBehavior)
root
- root element for XML filesformatVersionKey
- key for format versionconventions
- IERS ConventionssimpleEOP
- if true, tidal effects are ignored when interpolating EOPdataContext
- used to retrieve frames, time scales, etc.missionReferenceDate
- reference date for Mission Elapsed Time or Mission Relative Time time systems
(may be null if time system is absolute)parsedUnitsBehavior
- behavior to adopt for handling parsed unitspublic Map<String,XmlTokenBuilder> getSpecialXmlElementsBuilders()
getSpecialXmlElementsBuilders
in interface MessageParser<T extends NdmConstituent<?,?>>
getSpecialXmlElementsBuilders
in class AbstractMessageParser<T extends NdmConstituent<?,?>>
public AbsoluteDate getMissionReferenceDate()
public static boolean processRotationOrder(ParseToken sequence, AdmParser.RotationOrderConsumer consumer)
RotationOrder
.sequence
- Euler angles sequence tokenconsumer
- consumer of the rotation ordertrue
Copyright © 2002-2022 CS GROUP. All rights reserved.