|
||||||||||
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 | |
---|---|
protected static org.slf4j.Logger |
LOG
The LoggerFactory used by this class |
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 | |
---|---|
LdapSyntax |
parse(java.lang.String schemaDescription)
Parses a LdapSyntax description |
LdapSyntax |
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, setSchemaName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.slf4j.Logger LOG
Constructor Detail |
---|
public LdapSyntaxDescriptionSchemaParser()
Method Detail |
---|
public LdapSyntax 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 syntax description to be parsed
java.text.ParseException
- if there are any recognition errors (bad syntax)public LdapSyntax parse(java.lang.String schemaDescription) throws java.text.ParseException
parse
in class AbstractSchemaParser
The
- LdapSyntax description to parse
java.text.ParseException
- If the parsing failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |