Package org.lifstools.jgoslin.parser
Class BaseParserEventHandler<T>
java.lang.Object
org.lifstools.jgoslin.parser.BaseParserEventHandler<T>
- Type Parameters:
T
- the type of object created from parsers using this event handler.
- Direct Known Subclasses:
FattyAcidParserEventHandler
,LipidBaseParserEventHandler
,SumFormulaParserEventHandler
Abstract base class for parser event handling.
- Author:
- Dominik Kopczynski, Nils Hoffmann
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
handleEvent
(String event_name, TreeNode node) protected abstract void
resetParser
(TreeNode node) protected void
sanityCheck
(Parser<T> parser)
-
Field Details
-
registeredEvents
-
ruleNames
-
-
errorMessage
-
-
Constructor Details
-
BaseParserEventHandler
protected BaseParserEventHandler()
-
-
Method Details
-
sanityCheck
-
handleEvent
-
resetParser
-
getErrorMessage
-