T
- The type of SchemaObjectpublic abstract class AbstractSchemaParser<T extends SchemaObject> extends Object
Modifier and Type | Method and Description |
---|---|
Map<String,OpenLdapObjectIdentifierMacro> |
getObjectIdentifiers()
Get the defined macros.
|
boolean |
isQuirksMode()
Checks if quirks mode is enabled.
|
abstract T |
parse(String schemaDescription)
Parse a SchemaObject description and returns back an instance of SchemaObject.
|
void |
setQuirksMode(boolean enabled)
Sets the quirks mode.
|
public void setQuirksMode(boolean enabled)
enabled
- the new quirks modepublic boolean isQuirksMode()
public abstract T parse(String schemaDescription) throws ParseException
schemaDescription
- The SchemaObject descriptionParseException
- If the parsing failedpublic Map<String,OpenLdapObjectIdentifierMacro> getObjectIdentifiers()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.