Interface StoExParser
-
- All Known Implementing Classes:
StoExParserImpl
public interface StoExParser
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StoExParser.SyntaxErrorException
Exception thrown in case of syntax errors.
-
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 StoExParser.SyntaxErrorException
Parse a serialized StoEx into anExpression
.- Parameters:
serializedStoEx
- The serialized StoEx.- Returns:
- The parsed
Expression
instance. - Throws:
StoExParser.SyntaxErrorException
- thrown in case of a syntax error.
-
-