public class LdapSyntaxDescriptionSchemaParser extends AbstractSchemaParser<LdapSyntax>
Constructor and Description |
---|
LdapSyntaxDescriptionSchemaParser()
Creates a schema parser instance.
|
Modifier and Type | Method and Description |
---|---|
LdapSyntax |
parse(String ldapSyntaxDescription)
Parses a LDAP syntax description according to RFC 4512:
|
getObjectIdentifiers, isQuirksMode, setQuirksMode
public LdapSyntaxDescriptionSchemaParser()
public LdapSyntax parse(String ldapSyntaxDescription) throws ParseException
SyntaxDescription = LPAREN WSP numericoid ; object identifier [ SP "DESC" SP qdstring ] ; description extensions WSP RPAREN ; extensions
parse
in class AbstractSchemaParser<LdapSyntax>
ldapSyntaxDescription
- the LDAP syntax description to be parsedParseException
- if there are any recognition errors (bad syntax)Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.