Class XmlLexicalAnalyzer

  • All Implemented Interfaces:
    LexicalAnalyzer

    public class XmlLexicalAnalyzer
    extends Object
    implements LexicalAnalyzer
    Lexical analyzer for XML CCSDS messages.
    Since:
    11.0
    Author:
    Maxime Journot, Luc Maisonobe
    • Constructor Detail

      • XmlLexicalAnalyzer

        public XmlLexicalAnalyzer​(DataSource source)
        Simple constructor.
        Parameters:
        source - source providing the data to parse
    • Method Detail

      • accept

        public <T> T accept​(MessageParser<T> messageParser)
        Parse a CCSDS Message.
        Specified by:
        accept in interface LexicalAnalyzer
        Type Parameters:
        T - type of the file
        Parameters:
        messageParser - CCSDS Message parser to use
        Returns:
        parsed fileO