public class LdapSyntaxDescriptionSchemaParser extends AbstractSchemaParser
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG
The LoggerFactory used by this class
|
lexer, monitor, parser| Constructor and Description |
|---|
LdapSyntaxDescriptionSchemaParser()
Creates a schema parser instance.
|
| Modifier and Type | Method and Description |
|---|---|
LdapSyntax |
parse(String schemaDescription)
Parses a LdapSyntax description
|
LdapSyntax |
parseLdapSyntaxDescription(String ldapSyntaxDescription)
Parses a LDAP syntax description according to RFC 4512:
|
isQuirksMode, reset, setParserMonitor, setQuirksMode, setSchemaNamepublic LdapSyntaxDescriptionSchemaParser()
public LdapSyntax parseLdapSyntaxDescription(String ldapSyntaxDescription) throws ParseException
SyntaxDescription = LPAREN WSP
numericoid ; object identifier
[ SP "DESC" SP qdstring ] ; description
extensions WSP RPAREN ; extensions
ldapSyntaxDescription - the LDAP syntax description to be parsedParseException - if there are any recognition errors (bad syntax)public LdapSyntax parse(String schemaDescription) throws ParseException
parse in class AbstractSchemaParserThe - LdapSyntax description to parseParseException - If the parsing failedCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.