Class NormalizerDescriptionSchemaParser

    • Method Detail

      • parse

        public NormalizerDescription parse​(String normalizerDescription)
                                    throws ParseException
        Parses a normalizer description:
         NormalizerDescription = LPAREN WSP
             numericoid                           ; object identifier
             [ SP "DESC" SP qdstring ]            ; description
             SP "FQCN" SP fqcn                    ; fully qualified class name
             [ SP "BYTECODE" SP base64 ]          ; optional base64 encoded bytecode
             extensions WSP RPAREN                ; extensions
         
         base64          = *(4base64-char)
         base64-char     = ALPHA / DIGIT / "+" / "/"
         fqcn = fqcnComponent 1*( DOT fqcnComponent )
         fqcnComponent = ???
         
         extensions = *( SP xstring SP qdstrings )
         xstring = "X" HYPHEN 1*( ALPHA / HYPHEN / USCORE ) 
         
        Specified by:
        parse in class AbstractSchemaParser<NormalizerDescription>
        Parameters:
        normalizerDescription - the normalizer description to be parsed
        Returns:
        the parsed NormalizerDescription bean
        Throws:
        ParseException - if there are any recognition errors (bad syntax)