Class ACIItemChecker
- java.lang.Object
-
- org.apache.directory.api.ldap.aci.ACIItemChecker
-
public class ACIItemChecker extends Object
A reusable wrapper around the antlr generated parser for an ACIItem as defined by X.501. This class enables the reuse of the antlr parser/lexer pair without having to recreate them every time.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description ACIItemChecker(SchemaManager schemaManager)
Creates a ACIItem parser.
-
-
-
Constructor Detail
-
ACIItemChecker
public ACIItemChecker(SchemaManager schemaManager)
Creates a ACIItem parser.- Parameters:
schemaManager
- the schema manager
-
-
Method Detail
-
parse
public void parse(String spec) throws ParseException
Parses an ACIItem without exhausting the parser.- Parameters:
spec
- the specification to be parsed- Throws:
ParseException
- if there are any recognition errors (bad syntax)
-
-