|
||||||||||
| 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
public abstract class AbstractSchemaParser
TODO AbstractSchemaParser.
| Field Summary | |
|---|---|
protected ReusableAntlrSchemaLexer |
lexer
the antlr generated lexer being wrapped |
protected ParserMonitor |
monitor
the monitor to use for this parser |
protected ReusableAntlrSchemaParser |
parser
the antlr generated parser being wrapped |
| Constructor Summary | |
|---|---|
protected |
AbstractSchemaParser()
|
| Method Summary | |
|---|---|
boolean |
isQuirksMode()
Checks if quirks mode is enabled. |
abstract AbstractSchemaDescription |
parse(java.lang.String schemaDescription)
|
protected void |
reset(java.lang.String spec)
Initializes the plumbing by creating a pipe and coupling the parser/lexer pair with it. |
void |
setParserMonitor(ParserMonitor monitor)
Sets the parser monitor. |
void |
setQuirksMode(boolean enabled)
Sets the quirks mode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ParserMonitor monitor
protected ReusableAntlrSchemaParser parser
protected ReusableAntlrSchemaLexer lexer
| Constructor Detail |
|---|
protected AbstractSchemaParser()
| Method Detail |
|---|
protected void reset(java.lang.String spec)
public void setParserMonitor(ParserMonitor monitor)
monitor - the new parser monitorpublic void setQuirksMode(boolean enabled)
enabled - the new quirks modepublic boolean isQuirksMode()
public abstract AbstractSchemaDescription parse(java.lang.String schemaDescription)
throws java.text.ParseException
java.text.ParseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||