|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.schema.syntax.parser.AbstractSchemaParser
org.apache.directory.shared.ldap.schema.syntax.parser.LdapSyntaxDescriptionSchemaParser
public class LdapSyntaxDescriptionSchemaParser
A parser for RFC 4512 LDAP syntx descriptions.
Field Summary |
---|
Fields inherited from class org.apache.directory.shared.ldap.schema.syntax.parser.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.syntax.parser.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 AbstractSchemaParser
java.text.ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |