Class DitContentRuleDescriptionSchemaParser
java.lang.Object
org.apache.directory.api.ldap.model.schema.parsers.AbstractSchemaParser<DitContentRule>
org.apache.directory.api.ldap.model.schema.parsers.DitContentRuleDescriptionSchemaParser
A parser for RFC 4512 DIT content rule descriptions.
- Author:
- Apache Directory Project
-
Field Summary
Fields inherited from class AbstractSchemaParser
fastParser, LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionParses a DIT content rule description according to RFC 4512:Methods inherited from class AbstractSchemaParser
getObjectIdentifiers, isQuirksMode, setQuirksMode, updateSchemaName
-
Constructor Details
-
DitContentRuleDescriptionSchemaParser
public DitContentRuleDescriptionSchemaParser()Creates a schema parser instance.
-
-
Method Details
-
parse
Parses a DIT content rule description according to RFC 4512:DITContentRuleDescription = LPAREN WSP numericoid ; object identifier [ SP "NAME" SP qdescrs ] ; short names (descriptors) [ SP "DESC" SP qdstring ] ; description [ SP "OBSOLETE" ] ; not active [ SP "AUX" SP oids ] ; auxiliary object classes [ SP "MUST" SP oids ] ; attribute types [ SP "MAY" SP oids ] ; attribute types [ SP "NOT" SP oids ] ; attribute types extensions WSP RPAREN ; extensions
- Specified by:
parsein classAbstractSchemaParser<DitContentRule>- Parameters:
ditContentRuleDescription- the DIT content rule description to be parsed- Returns:
- the parsed DITContentRuleDescription bean
- Throws:
ParseException- if there are any recognition errors (bad syntax)
-