/** * Add all the Schema's Syntaxes * * @param schema The schema in which the Syntaxes will be added * @param registries The Registries to process * @throws LdapException If the Syntaxes cannot be added * @throws IOException If the Syntaxes cannot be loaded */ private void addSyntaxes( Schema schema, Registries registries ) throws LdapException, IOException { if ( schema.getSchemaLoader() == null ) { return; } for ( Entry entry : schema.getSchemaLoader().loadSyntaxes( schema ) ) { LdapSyntax syntax = factory.getSyntax( this, entry, registries, schema.getSchemaName() ); addSchemaObject( registries, syntax, schema ); } }
/** * Add all the Schema's Syntaxes * * @param schema The schema in which the Syntaxes will be added * @param registries The Registries to process * @throws LdapException If the Syntaxes cannot be added * @throws IOException If the Syntaxes cannot be loaded */ private void addSyntaxes( Schema schema, Registries registries ) throws LdapException, IOException { if ( schema.getSchemaLoader() == null ) { return; } for ( Entry entry : schema.getSchemaLoader().loadSyntaxes( schema ) ) { LdapSyntax syntax = factory.getSyntax( this, entry, registries, schema.getSchemaName() ); addSchemaObject( registries, syntax, schema ); } }
/** * Add all the Schema's Syntaxes * * @param schema The schema in which the Syntaxes will be added * @param registries The Registries to process * @throws LdapException If the Syntaxes cannot be added * @throws IOException If the Syntaxes cannot be loaded */ private void addSyntaxes( Schema schema, Registries registries ) throws LdapException, IOException { if ( schema.getSchemaLoader() == null ) { return; } for ( Entry entry : schema.getSchemaLoader().loadSyntaxes( schema ) ) { LdapSyntax syntax = factory.getSyntax( this, entry, registries, schema.getSchemaName() ); addSchemaObject( registries, syntax, schema ); } }