public class LdapComparatorDescriptionSchemaParser extends AbstractSchemaParser
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG
The LoggerFactory used by this class
|
lexer, monitor, parser
Constructor and Description |
---|
LdapComparatorDescriptionSchemaParser()
Creates a schema parser instance.
|
Modifier and Type | Method and Description |
---|---|
LdapComparatorDescription |
parse(String schemaDescription)
Parses a LdapComparator description.
|
LdapComparatorDescription |
parseComparatorDescription(String comparatorDescription)
Parses an comparator description:
|
isQuirksMode, reset, setParserMonitor, setQuirksMode, updateSchemaName
protected static final org.slf4j.Logger LOG
public LdapComparatorDescriptionSchemaParser()
public LdapComparatorDescription parseComparatorDescription(String comparatorDescription) throws ParseException
ComparatorDescription = LPAREN WSP numericoid ; object identifier [ SP "DESC" SP qdstring ] ; description SP "FQCN" SP fqcn ; fully qualified class name [ SP "BYTECODE" SP base64 ] ; optional base64 encoded bytecode extensions WSP RPAREN ; extensions base64 = *(4base64-char) base64-char = ALPHA / DIGIT / "+" / "/" fqcn = fqcnComponent 1*( DOT fqcnComponent ) fqcnComponent = ??? extensions = *( SP xstring SP qdstrings ) xstring = "X" HYPHEN 1*( ALPHA / HYPHEN / USCORE )
comparatorDescription
- the comparator description to be parsedParseException
- if there are any recognition errors (bad syntax)public LdapComparatorDescription parse(String schemaDescription) throws ParseException
parse
in class AbstractSchemaParser
schemaDescription
- The LdapComparator description to parseParseException
- If the parsing failedCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.