|
||||||||||
| 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.LdapSyntaxDescriptionSchemaParser
public class LdapSyntaxDescriptionSchemaParser
A parser for RFC 4512 LDAP syntx descriptions.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.shared.ldap.schema.parsers.AbstractSchemaParser |
|---|
lexer, monitor, parser |
| Constructor Summary | |
|---|---|
LdapSyntaxDescriptionSchemaParser()
Creates a schema parser instance. |
|
| Method Summary | |
|---|---|
AbstractSchemaDescription |
parse(java.lang.String schemaDescription)
|
LdapSyntaxDescription |
parseLdapSyntaxDescription(java.lang.String ldapSyntaxDescription)
Parses a LDAP syntax 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 LdapSyntaxDescriptionSchemaParser()
| Method Detail |
|---|
public LdapSyntaxDescription parseLdapSyntaxDescription(java.lang.String ldapSyntaxDescription)
throws java.text.ParseException
SyntaxDescription = LPAREN WSP
numericoid ; object identifier
[ SP "DESC" SP qdstring ] ; description
extensions WSP RPAREN ; extensions
ldapSyntaxDescription - the LDAP syntay 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 | |||||||||