public class ACIItemChecker extends Object
| Modifier and Type | Field and Description |
|---|---|
private ReusableAntlrACIItemParser |
checker
the antlr generated parser being wrapped
|
private ReusableAntlrACIItemLexer |
lexer
the antlr generated lexer being wrapped
|
| Constructor and Description |
|---|
ACIItemChecker(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
Creates a ACIItem parser.
|
| Modifier and Type | Method and Description |
|---|---|
void |
parse(String spec)
Parses an ACIItem without exhausting the parser.
|
private void |
reset(String spec)
Initializes the plumbing by creating a pipe and coupling the parser/lexer
pair with it.
|
private ReusableAntlrACIItemParser checker
private ReusableAntlrACIItemLexer lexer
public ACIItemChecker(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
schemaManager - the schema managerprivate void reset(String spec)
spec - The part to parsepublic void parse(String spec) throws ParseException
spec - the specification to be parsedParseException - if there are any recognition errors (bad syntax)Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.