Class MatchingRuleUseDescriptionSchemaParser
- java.lang.Object
-
- org.apache.directory.api.ldap.model.schema.parsers.AbstractSchemaParser<MatchingRuleUse>
-
- org.apache.directory.api.ldap.model.schema.parsers.MatchingRuleUseDescriptionSchemaParser
-
public class MatchingRuleUseDescriptionSchemaParser extends AbstractSchemaParser<MatchingRuleUse>
A parser for RFC 4512 matching rule use descriptions.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description MatchingRuleUseDescriptionSchemaParser()
Creates a schema parser instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchingRuleUse
parse(String matchingRuleUseDescription)
Parses a matching rule use description according to RFC 4512:-
Methods inherited from class org.apache.directory.api.ldap.model.schema.parsers.AbstractSchemaParser
getObjectIdentifiers, isQuirksMode, setQuirksMode
-
-
-
-
Constructor Detail
-
MatchingRuleUseDescriptionSchemaParser
public MatchingRuleUseDescriptionSchemaParser()
Creates a schema parser instance.
-
-
Method Detail
-
parse
public MatchingRuleUse parse(String matchingRuleUseDescription) throws ParseException
Parses a matching rule use description according to RFC 4512:MatchingRuleUseDescription = LPAREN WSP numericoid ; object identifier [ SP "NAME" SP qdescrs ] ; short names (descriptors) [ SP "DESC" SP qdstring ] ; description [ SP "OBSOLETE" ] ; not active SP "APPLIES" SP oids ; attribute types extensions WSP RPAREN ; extensions extensions = *( SP xstring SP qdstrings ) xstring = "X" HYPHEN 1*( ALPHA / HYPHEN / USCORE )
- Specified by:
parse
in classAbstractSchemaParser<MatchingRuleUse>
- Parameters:
matchingRuleUseDescription
- the matching rule use description to be parsed- Returns:
- the parsed MatchingRuleUseDescription bean
- Throws:
ParseException
- if there are any recognition errors (bad syntax)
-
-