|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.model.subtree.SubtreeSpecificationParser
public class SubtreeSpecificationParser
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.
| Constructor Summary | |
|---|---|
SubtreeSpecificationParser(NormalizerMappingResolver resolver,
SchemaManager schemaManager)
Creates a normalizing subtree specification parser. |
|
SubtreeSpecificationParser(SchemaManager schemaManager)
Creates a subtree specification parser. |
|
| Method Summary | |
|---|---|
boolean |
isNormizing()
Tests to see if this parser is normalizing. |
SubtreeSpecification |
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 |
| Constructor Detail |
|---|
public SubtreeSpecificationParser(SchemaManager schemaManager)
public SubtreeSpecificationParser(NormalizerMappingResolver resolver,
SchemaManager schemaManager)
| Method Detail |
|---|
public SubtreeSpecification parse(String spec)
throws ParseException
spec - the specification to be parsed
ParseException - if there are any recognition errors (bad syntax)public boolean isNormizing()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||