|
||||||||||
| 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.DITContentRuleDescriptionSchemaParser
public class DITContentRuleDescriptionSchemaParser
A parser for RFC 4512 DIT content rule descriptons
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.shared.ldap.schema.parsers.AbstractSchemaParser |
|---|
lexer, monitor, parser |
| Constructor Summary | |
|---|---|
DITContentRuleDescriptionSchemaParser()
Creates a schema parser instance. |
|
| Method Summary | |
|---|---|
AbstractSchemaDescription |
parse(java.lang.String schemaDescription)
|
DITContentRuleDescription |
parseDITContentRuleDescription(java.lang.String ditContentRuleDescription)
Parses a DIT content 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 DITContentRuleDescriptionSchemaParser()
| Method Detail |
|---|
public DITContentRuleDescription parseDITContentRuleDescription(java.lang.String ditContentRuleDescription)
throws java.text.ParseException
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
ditContentRuleDescription - the DIT content 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 | |||||||||