T
- The type of SchemaObjectpublic abstract class AbstractSchemaParser<T extends SchemaObject> extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
isQuirksMode()
Checks if quirks mode is enabled.
|
T |
parse(String schemaDescription)
Parse a SchemaObject description and returns back an instance of SchemaObject.
|
void |
setParserMonitor(ParserMonitor parserMonitor)
Sets the parser monitor.
|
void |
setQuirksMode(boolean enabled)
Sets the quirks mode.
|
public void setParserMonitor(ParserMonitor parserMonitor)
parserMonitor
- the new parser monitorpublic void setQuirksMode(boolean enabled)
enabled
- the new quirks modepublic boolean isQuirksMode()
public T parse(String schemaDescription) throws ParseException
schemaDescription
- The SchemaObject descriptionParseException
- If the parsing failedCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.