Class NormalizerDescriptionSchemaParser
java.lang.Object
org.apache.directory.api.ldap.model.schema.parsers.AbstractSchemaParser<NormalizerDescription>
org.apache.directory.api.ldap.model.schema.parsers.NormalizerDescriptionSchemaParser
A parser for ApacheDS normalizer descriptions.
- Author:
- Apache Directory Project
-
Field Summary
Fields inherited from class AbstractSchemaParser
fastParser, LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionParses a normalizer description:Methods inherited from class AbstractSchemaParser
getObjectIdentifiers, isQuirksMode, setQuirksMode, updateSchemaName
-
Constructor Details
-
NormalizerDescriptionSchemaParser
public NormalizerDescriptionSchemaParser()Creates a schema parser instance.
-
-
Method Details
-
parse
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:
parsein 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)
-