Class NormalizerDescriptionSchemaParser
- java.lang.Object
-
- org.apache.directory.api.ldap.model.schema.parsers.AbstractSchemaParser<NormalizerDescription>
-
- org.apache.directory.api.ldap.model.schema.parsers.NormalizerDescriptionSchemaParser
-
public class NormalizerDescriptionSchemaParser extends AbstractSchemaParser<NormalizerDescription>
A parser for ApacheDS normalizer descriptions.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description NormalizerDescriptionSchemaParser()
Creates a schema parser instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NormalizerDescription
parse(String normalizerDescription)
Parses a normalizer description:-
Methods inherited from class org.apache.directory.api.ldap.model.schema.parsers.AbstractSchemaParser
getObjectIdentifiers, isQuirksMode, setQuirksMode
-
-
-
-
Constructor Detail
-
NormalizerDescriptionSchemaParser
public NormalizerDescriptionSchemaParser()
Creates a schema parser instance.
-
-
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 classAbstractSchemaParser<NormalizerDescription>
- Parameters:
normalizerDescription
- the normalizer description to be parsed- Returns:
- the parsed NormalizerDescription bean
- Throws:
ParseException
- if there are any recognition errors (bad syntax)
-
-