Interface LexicalAnalyzer

  • All Known Implementing Classes:
    KvnLexicalAnalyzer, XmlLexicalAnalyzer

    public interface LexicalAnalyzer
    Interface for CCSDS messages lexical analysis.

    Lexical analyzer implementations split raw streams of characters into tokens and feed them to message parsers. Each lexical analyzer knows about a basic character stream format (Key-Value Notation or XML) but knows nothing about the CCSDS messages themselves. The message parsers know about CCSDS messages.

    Since:
    11.0
    Author:
    Luc Maisonobe
    • Method Detail

      • accept

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