public class MatchingRuleUseDescriptionSchemaParser extends AbstractSchemaParser
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG
The LoggerFactory used by this class
|
lexer, monitor, parser| Constructor and Description |
|---|
MatchingRuleUseDescriptionSchemaParser()
Creates a schema parser instance.
|
| Modifier and Type | Method and Description |
|---|---|
MatchingRuleUse |
parse(String schemaDescription)
Parses a MatchingRuleUse description
|
MatchingRuleUse |
parseMatchingRuleUseDescription(String matchingRuleUseDescription)
Parses a matching rule use description according to RFC 4512:
|
isQuirksMode, reset, setParserMonitor, setQuirksMode, setSchemaNamepublic MatchingRuleUseDescriptionSchemaParser()
public MatchingRuleUse parseMatchingRuleUseDescription(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 )
matchingRuleUseDescription - the matching rule use description to be parsedParseException - if there are any recognition errors (bad syntax)public MatchingRuleUse parse(String schemaDescription) throws ParseException
parse in class AbstractSchemaParserThe - MatchingRuleUse description to parseParseException - If the parsing failedCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.