Class NameFormDescriptionSchemaParser

    • Method Detail

      • parse

        public NameForm parse​(String nameFormDescription)
                       throws ParseException
        Parses a name form description according to RFC 4512:
         NameFormDescription = LPAREN WSP
            numericoid                 ; object identifier
            [ SP "NAME" SP qdescrs ]   ; short names (descriptors)
            [ SP "DESC" SP qdstring ]  ; description
            [ SP "OBSOLETE" ]          ; not active
            SP "OC" SP oid             ; structural object class
            SP "MUST" SP oids          ; attribute types
            [ SP "MAY" SP oids ]       ; attribute types
            extensions WSP RPAREN      ; extensions
         
        Specified by:
        parse in class AbstractSchemaParser<NameForm>
        Parameters:
        nameFormDescription - the name form description to be parsed
        Returns:
        the parsed NameForm bean
        Throws:
        ParseException - if there are any recognition errors (bad syntax)