public class MatchingRuleUseDescriptionSchemaParser extends AbstractSchemaParser<MatchingRuleUse>
fastParser, LOG| Constructor and Description |
|---|
MatchingRuleUseDescriptionSchemaParser()
Creates a schema parser instance.
|
| Modifier and Type | Method and Description |
|---|---|
MatchingRuleUse |
parse(String matchingRuleUseDescription)
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 )
|
getObjectIdentifiers, isQuirksMode, setQuirksMode, updateSchemaNamepublic MatchingRuleUseDescriptionSchemaParser()
public MatchingRuleUse parse(String matchingRuleUseDescription) throws ParseException
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 )
parse in class AbstractSchemaParser<MatchingRuleUse>matchingRuleUseDescription - the matching rule use description to be parsedParseException - if there are any recognition errors (bad syntax)Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.