T
- type of the filepublic interface MessageParser<T>
Modifier and Type | Method and Description |
---|---|
T |
build()
Build the file from parsed entries.
|
String |
getFormatVersionKey()
Get the key for format version.
|
Map<String,XmlTokenBuilder> |
getSpecialXmlElementsBuilders()
Get the non-default token builders for special XML elements.
|
T |
parseMessage(DataSource source)
Parse a data source.
|
void |
process(ParseToken token)
Process a parse token.
|
void |
reset(FileFormat fileFormat)
Reset parser to initial state before parsing.
|
T parseMessage(DataSource source)
source
- data source to parseString getFormatVersionKey()
Map<String,XmlTokenBuilder> getSpecialXmlElementsBuilders()
void reset(FileFormat fileFormat)
fileFormat
- format of the file ready to be parsedvoid process(ParseToken token)
token
- token to processT build()
Copyright © 2002-2021 CS GROUP. All rights reserved.