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
orXML
) but knows nothing about the CCSDS messages themselves. Themessage parsers
know about CCSDS messages.- Since:
- 11.0
- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
accept(MessageParser<T> messageParser)
Parse a CCSDS Message.
-
-
-
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
-
-