Class LdapSyntaxDescriptionSchemaParser

    • Method Detail

      • parse

        public LdapSyntax parse​(String ldapSyntaxDescription)
                         throws ParseException
        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:
        parse in class AbstractSchemaParser<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)