Package com.aquima.interactions.rule
Interface IParserFactory
- All Known Implementing Classes:
ParserFactory
public interface IParserFactory
Factory interface for objects capable of creating expression parsers. This interface is mainly used during the
initialization of an application to allow for intercepting of error and warning messages.
- Since:
- 5.1
- Author:
- O. Kerpershoek
-
Method Summary
Modifier and TypeMethodDescriptiongetParser
(String unitName, IParseListener listener) This method returns an expression parser that will use the specified listener when parsing expressions.
-
Method Details
-
getParser
This method returns an expression parser that will use the specified listener when parsing expressions. The parse listener is optional, and may be omitted by calling this method with a null value.- Parameters:
unitName
- Identifier for the expression(s) that will be parsed by this parser.listener
- Optional listener that will be notified of errors and warnings.- Returns:
- An expression parser implementation.
-