Interface GenericStoExParser
-
- All Known Subinterfaces:
PlainStoExParser
- All Known Implementing Classes:
GenericStoExParserImpl
,PlainStoExParserImpl
public interface GenericStoExParser
Service interface for StoEx parsers. The parser translates a serialized StoEx into anExpression
. You can acquire an instance of the parser via OSGi declarative services or use the#createInstance()
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Expression
parse(String serializedStoEx)
Parse a serialized StoEx into anExpression
.
-
-
-
Method Detail
-
parse
Expression parse(String serializedStoEx) throws ParseException
Parse a serialized StoEx into anExpression
.- Parameters:
serializedStoEx
- The serialized StoEx.- Returns:
- The parsed
Expression
instance. - Throws:
ParseException
- thrown in case of a syntax error.
-
-