Class LdapSyntaxDescriptionSchemaParser
java.lang.Object
org.apache.directory.api.ldap.model.schema.parsers.AbstractSchemaParser<LdapSyntax>
org.apache.directory.api.ldap.model.schema.parsers.LdapSyntaxDescriptionSchemaParser
A parser for RFC 4512 LDAP syntx descriptions.
- Author:
- Apache Directory Project
-
Field Summary
Fields inherited from class AbstractSchemaParser
fastParser, LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionParses a LDAP syntax description according to RFC 4512:Methods inherited from class AbstractSchemaParser
getObjectIdentifiers, isQuirksMode, setQuirksMode, updateSchemaName
-
Constructor Details
-
LdapSyntaxDescriptionSchemaParser
public LdapSyntaxDescriptionSchemaParser()Creates a schema parser instance.
-
-
Method Details
-
parse
Parses a LDAP syntax description according to RFC 4512:SyntaxDescription = LPAREN WSP numericoid ; object identifier [ SP "DESC" SP qdstring ] ; description extensions WSP RPAREN ; extensions
- Specified by:
parsein classAbstractSchemaParser<LdapSyntax>- Parameters:
ldapSyntaxDescription- the LDAP syntax description to be parsed- Returns:
- the parsed LdapSyntax bean
- Throws:
ParseException- if there are any recognition errors (bad syntax)
-