|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.core.schema.SchemaProducer
com.ca.jcs.cfg.apacheds.schema.SchemaFromFileConverter
public class SchemaFromFileConverter
Wrapper that can parse an OpenLDAP format schema and help register the
contents with the ApacheDS
SchemaService.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.directory.server.core.schema.SchemaProducer |
|---|
SchemaProducer.ConceteSchemaSyntax, SchemaProducer.ConcreteSchemaAttributeType, SchemaProducer.ConcreteSchemaMatchingRule, SchemaProducer.ConcreteSchemaObjectClass |
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.server.core.schema.SchemaProducer |
|---|
EMPTY |
| Constructor Summary | |
|---|---|
SchemaFromFileConverter(String schemaName,
File schemaFile)
|
|
SchemaFromFileConverter(String schemaName,
InputStream schemaStream)
|
|
| Method Summary | |
|---|---|
boolean |
convert(Registries registries)
Returns true if conversion was successful. |
boolean |
convertAttributeTypes(Registries toRegistries,
Collection<org.apache.directory.server.core.tools.schema.AttributeTypeLiteral> attributeTypeLiterals)
Take in list() result on schema attribute type container and register types in global registry. |
| Methods inherited from class org.apache.directory.server.core.schema.SchemaProducer |
|---|
newAttributeType, newMatchingRule, newObjectClass, newSyntax |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaFromFileConverter(String schemaName,
File schemaFile)
public SchemaFromFileConverter(String schemaName,
InputStream schemaStream)
| Method Detail |
|---|
public boolean convert(Registries registries)
throws NamingException,
IOException,
ParseException
NamingException
IOException
ParseException
public boolean convertAttributeTypes(Registries toRegistries,
Collection<org.apache.directory.server.core.tools.schema.AttributeTypeLiteral> attributeTypeLiterals)
throws NamingException
toRegistries - Registry to be populated.
NamingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||