当前位置: 首页>>代码示例>>Java>>正文


Java Schema.getSchemaLoader方法代码示例

本文整理汇总了Java中org.apache.directory.api.ldap.model.schema.registries.Schema.getSchemaLoader方法的典型用法代码示例。如果您正苦于以下问题:Java Schema.getSchemaLoader方法的具体用法?Java Schema.getSchemaLoader怎么用?Java Schema.getSchemaLoader使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.apache.directory.api.ldap.model.schema.registries.Schema的用法示例。


在下文中一共展示了Schema.getSchemaLoader方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: addAttributeTypes

import org.apache.directory.api.ldap.model.schema.registries.Schema; //导入方法依赖的package包/类
/**
 * Add all the Schema's AttributeTypes
 */
private void addAttributeTypes( Schema schema, Registries registries ) throws LdapException, IOException
{
    if ( schema.getSchemaLoader() == null )
    {
        return;
    }

    for ( Entry entry : schema.getSchemaLoader().loadAttributeTypes( schema ) )
    {
        AttributeType attributeType = factory.getAttributeType( this, entry, registries, schema.getSchemaName() );

        addSchemaObject( registries, attributeType, schema );
    }
}
 
开发者ID:apache,项目名称:directory-ldap-api,代码行数:18,代码来源:DefaultSchemaManager.java

示例2: addComparators

import org.apache.directory.api.ldap.model.schema.registries.Schema; //导入方法依赖的package包/类
/**
 * Add all the Schema's comparators
 */
private void addComparators( Schema schema, Registries registries ) throws LdapException, IOException
{
    if ( schema.getSchemaLoader() == null )
    {
        return;
    }
    
    for ( Entry entry : schema.getSchemaLoader().loadComparators( schema ) )
    {
        LdapComparator<?> comparator = factory.getLdapComparator( this, entry, registries, schema.getSchemaName() );

        addSchemaObject( registries, comparator, schema );
    }
}
 
开发者ID:apache,项目名称:directory-ldap-api,代码行数:18,代码来源:DefaultSchemaManager.java

示例3: addMatchingRules

import org.apache.directory.api.ldap.model.schema.registries.Schema; //导入方法依赖的package包/类
/**
 * Add all the Schema's MatchingRules
 */
private void addMatchingRules( Schema schema, Registries registries ) throws LdapException, IOException
{
    if ( schema.getSchemaLoader() == null )
    {
        return;
    }

    for ( Entry entry : schema.getSchemaLoader().loadMatchingRules( schema ) )
    {
        MatchingRule matchingRule = factory.getMatchingRule( this, entry, registries, schema.getSchemaName() );

        addSchemaObject( registries, matchingRule, schema );
    }
}
 
开发者ID:apache,项目名称:directory-ldap-api,代码行数:18,代码来源:DefaultSchemaManager.java

示例4: addNormalizers

import org.apache.directory.api.ldap.model.schema.registries.Schema; //导入方法依赖的package包/类
/**
 * Add all the Schema's Normalizers
 */
private void addNormalizers( Schema schema, Registries registries ) throws LdapException, IOException
{
    if ( schema.getSchemaLoader() == null )
    {
        return;
    }

    for ( Entry entry : schema.getSchemaLoader().loadNormalizers( schema ) )
    {
        Normalizer normalizer = factory.getNormalizer( this, entry, registries, schema.getSchemaName() );

        addSchemaObject( registries, normalizer, schema );
    }
}
 
开发者ID:apache,项目名称:directory-ldap-api,代码行数:18,代码来源:DefaultSchemaManager.java

示例5: addObjectClasses

import org.apache.directory.api.ldap.model.schema.registries.Schema; //导入方法依赖的package包/类
/**
 * Add all the Schema's ObjectClasses
 */
private void addObjectClasses( Schema schema, Registries registries ) throws LdapException, IOException
{
    if ( schema.getSchemaLoader() == null )
    {
        return;
    }

    for ( Entry entry : schema.getSchemaLoader().loadObjectClasses( schema ) )
    {
        ObjectClass objectClass = factory.getObjectClass( this, entry, registries, schema.getSchemaName() );

        addSchemaObject( registries, objectClass, schema );
    }
}
 
开发者ID:apache,项目名称:directory-ldap-api,代码行数:18,代码来源:DefaultSchemaManager.java

示例6: addSyntaxes

import org.apache.directory.api.ldap.model.schema.registries.Schema; //导入方法依赖的package包/类
/**
 * Add all the Schema's Syntaxes
 */
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 );
    }
}
 
开发者ID:apache,项目名称:directory-ldap-api,代码行数:18,代码来源:DefaultSchemaManager.java

示例7: addSyntaxCheckers

import org.apache.directory.api.ldap.model.schema.registries.Schema; //导入方法依赖的package包/类
/**Add
 * Register all the Schema's SyntaxCheckers
 */
private void addSyntaxCheckers( Schema schema, Registries registries ) throws LdapException, IOException
{
    if ( schema.getSchemaLoader() == null )
    {
        return;
    }

    for ( Entry entry : schema.getSchemaLoader().loadSyntaxCheckers( schema ) )
    {
        SyntaxChecker syntaxChecker = factory.getSyntaxChecker( this, entry, registries, schema.getSchemaName() );

        addSchemaObject( registries, syntaxChecker, schema );
    }
}
 
开发者ID:apache,项目名称:directory-ldap-api,代码行数:18,代码来源:DefaultSchemaManager.java


注:本文中的org.apache.directory.api.ldap.model.schema.registries.Schema.getSchemaLoader方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。