org.apache.directory.api.ldap.model.subtree
Class SubtreeSpecificationChecker
java.lang.Object
org.apache.directory.api.ldap.model.subtree.SubtreeSpecificationChecker
public class SubtreeSpecificationChecker
- extends Object
A reusable wrapper around the antlr generated parser for an LDAP subtree
specification as defined by
RFC 3672. This class enables the reuse of the antlr parser/lexer pair
without having to recreate the pair every time.
- Author:
- Apache Directory Project
- See Also:
- RFC 3672
|
Method Summary |
void |
parse(String spec)
Parses a subtree specification without exhausting the parser. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubtreeSpecificationChecker
public SubtreeSpecificationChecker(SchemaManager schemaManager)
- Creates a normalizing subtree specification parser.
parse
public void parse(String spec)
throws ParseException
- Parses a subtree specification without exhausting the parser.
- Parameters:
spec - the specification to be parsed
- Throws:
ParseException - if there are any recognition errors (bad syntax)
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.