public interface PolicyLexiconParser
PolicyLexicon. Parsers are specific to a lexicon and generate a PolicyExpression object
that is fed into a policy engine Compiler.
PolicyLexiconParserFactory class.| Modifier and Type | Method and Description |
|---|---|
PolicyExpression |
parse(InputStream stream)
Parsers an expression from an input stream written in the specific lexicon into a
PolicyExpression object. |
PolicyExpression parse(InputStream stream) throws PolicyParseException
PolicyExpression object.stream - An input stream containing the expression written in the specific lexicon.PolicyExpression object resulting from parsing the input stream.PolicyParseException - Thrown in the input stream cannot be parsed into a PolicyExpression object.Copyright © 2010-2016 The Direct Project. All Rights Reserved.