|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.schema.parsers.AbstractSchemaParser
org.apache.directory.shared.ldap.schema.parsers.MatchingRuleDescriptionSchemaParser
public class MatchingRuleDescriptionSchemaParser
A parser for RFC 4512 matching rule descriptions.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.shared.ldap.schema.parsers.AbstractSchemaParser |
|---|
lexer, monitor, parser |
| Constructor Summary | |
|---|---|
MatchingRuleDescriptionSchemaParser()
Creates a schema parser instance. |
|
| Method Summary | |
|---|---|
AbstractSchemaDescription |
parse(java.lang.String schemaDescription)
|
MatchingRuleDescription |
parseMatchingRuleDescription(java.lang.String matchingRuleDescription)
Parses a matching rule description according to RFC 4512: |
| Methods inherited from class org.apache.directory.shared.ldap.schema.parsers.AbstractSchemaParser |
|---|
isQuirksMode, reset, setParserMonitor, setQuirksMode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MatchingRuleDescriptionSchemaParser()
| Method Detail |
|---|
public MatchingRuleDescription parseMatchingRuleDescription(java.lang.String matchingRuleDescription)
throws java.text.ParseException
MatchingRuleDescription = LPAREN WSP
numericoid ; object identifier
[ SP "NAME" SP qdescrs ] ; short names (descriptors)
[ SP "DESC" SP qdstring ] ; description
[ SP "OBSOLETE" ] ; not active
SP "SYNTAX" SP numericoid ; assertion syntax
extensions WSP RPAREN ; extensions
extensions = *( SP xstring SP qdstrings )
xstring = "X" HYPHEN 1*( ALPHA / HYPHEN / USCORE )
matchingRuleDescription - the matching rule description to be parsed
java.text.ParseException - if there are any recognition errors (bad syntax)
public AbstractSchemaDescription parse(java.lang.String schemaDescription)
throws java.text.ParseException
parse in class AbstractSchemaParserjava.text.ParseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||