org.apache.directory.shared.ldap.name.DN.add()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(89)

本文整理了Java中org.apache.directory.shared.ldap.name.DN.add()方法的一些代码示例,展示了DN.add()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DN.add()方法的具体详情如下:
包路径:org.apache.directory.shared.ldap.name.DN
类名称:DN
方法名:add

DN.add介绍

暂无

代码示例

代码示例来源:origin: org.apache.directory.shared/shared-ldap

dn.add( 0, rdn );

代码示例来源:origin: org.apache.directory.shared/shared-ldap

/**
 * Copies a DN to an DN.
 *
 * @param name composed of String name components.
 * @throws LdapInvalidDnException If the Name is invalid.
 */
public DN( DN dn ) throws LdapInvalidDnException
{
  if ( ( dn != null ) && ( dn.size() != 0 ) )
  {
    for ( int ii = 0; ii < dn.size(); ii++ )
    {
      String nameComponent = dn.get( ii );
      add( nameComponent );
    }
  }
  normalized = false;
}

代码示例来源:origin: org.apache.directory.shared/shared-ldif

newDn.add( newRdn );

代码示例来源:origin: org.apache.directory.shared/shared-ldif

newDn.add( modifiedDn.getRdn() );

代码示例来源:origin: org.apache.directory.shared/shared-ldap

dn.add( rdn ); rdn=null;
    dn.add( rdn ); rdn=null;

代码示例来源:origin: org.apache.directory.shared/shared-ldif

DN restoredDn = (DN)((DN)newSuperior.clone()).add( newRdn ); 
reverted.setDn( restoredDn );

代码示例来源:origin: org.apache.directory.server/apacheds-avl-partition

String childRdn = childUpdn.get( childUpdn.size() - 1 );
DN newUpdn = new DN( getEntryUpdn( newParentId ) );
newUpdn.add( newUpdn.size(), childRdn );

代码示例来源:origin: org.apache.directory.shared/shared-ldif

DN restoredDn = (DN)((DN)newSuperior.clone()).add( newRdn ); 
reverted.setDn( restoredDn );

代码示例来源:origin: org.apache.directory.server/apacheds-avl-partition

DN rdnDN = new DN( rdn );
rdnDN.normalize( schemaManager.getNormalizerMapping() );
childUpdn.add( rdnDN.getRdn() );

代码示例来源:origin: org.apache.directory.server/apacheds-avl-partition

newUpdn.add( newRdn.getName() ); // add da new upRdn

相关文章