Class NdmParser

All Implemented Interfaces:
MessageParser<Ndm>

public class NdmParser extends AbstractMessageParser<Ndm>
A parser for the CCSDS NDM (Navigation Data Message).
Since:
11.0
Author:
Luc Maisonobe
  • Constructor Details

  • Method Details

    • getSpecialXmlElementsBuilders

      public Map<String,XmlTokenBuilder> getSpecialXmlElementsBuilders()
      Get the non-default token builders for special XML elements.
      Specified by:
      getSpecialXmlElementsBuilders in interface MessageParser<Ndm>
      Overrides:
      getSpecialXmlElementsBuilders in class AbstractMessageParser<Ndm>
      Returns:
      map of token builders for special XML elements (keyed by XML element name)
    • reset

      public void reset(FileFormat fileFormat)
      Reset parser to initial state before parsing.
      Parameters:
      fileFormat - format of the file ready to be parsed
    • build

      public Ndm build()
      Build the file from parsed entries.
      Returns:
      parsed file
    • addComment

      public boolean addComment(String comment)
      Add comment.

      Comments are accepted only at start. Once other content is stored in the same section, comments are refused.

      Parameters:
      comment - comment line
      Returns:
      true if comment was accepted