本文整理了Java中org.apache.directory.api.ldap.model.name.Ava.getName()
方法的一些代码示例,展示了Ava.getName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Ava.getName()
方法的具体详情如下:
包路径:org.apache.directory.api.ldap.model.name.Ava
类名称:Ava
方法名:getName
[英]Get the user provided form of this attribute type and value
[中]获取此属性类型和值的用户提供的表单
代码示例来源:origin: org.apache.directory.api/api-all
/**
* Creates a new schema aware RDN from a list of AVA
*
* @param schemaManager The schemaManager to use
* @param avas The AVA that will be used
* @throws LdapInvalidDnException If the RDN is invalid
*/
public Rdn( SchemaManager schemaManager, Ava... avas ) throws LdapInvalidDnException
{
StringBuilder buffer = new StringBuilder();
for ( int i = 0; i < avas.length; i++ )
{
if ( i > 0 )
{
buffer.append( '+' );
}
addAVA( schemaManager, avas[i] );
buffer.append( avas[i].getName() );
}
setUpName( buffer.toString() );
hashCode();
}
代码示例来源:origin: org.apache.directory.api/api-ldap-model
/**
* Creates a new schema aware RDN from a list of AVA
*
* @param schemaManager The schemaManager to use
* @param avas The AVA that will be used
* @throws LdapInvalidDnException If the RDN is invalid
*/
public Rdn( SchemaManager schemaManager, Ava... avas ) throws LdapInvalidDnException
{
StringBuilder buffer = new StringBuilder();
for ( int i = 0; i < avas.length; i++ )
{
if ( i > 0 )
{
buffer.append( '+' );
}
addAVA( schemaManager, avas[i] );
buffer.append( avas[i].getName() );
}
setUpName( buffer.toString() );
hashCode();
}
代码示例来源:origin: org.apache.directory.api/api-ldap-client-all
/**
* Creates a new schema aware RDN from a list of AVA
*
* @param schemaManager The schemaManager to use
* @param avas The AVA that will be used
* @throws LdapInvalidDnException If the RDN is invalid
*/
public Rdn( SchemaManager schemaManager, Ava... avas ) throws LdapInvalidDnException
{
StringBuilder buffer = new StringBuilder();
for ( int i = 0; i < avas.length; i++ )
{
if ( i > 0 )
{
buffer.append( '+' );
}
addAVA( schemaManager, avas[i] );
buffer.append( avas[i].getName() );
}
setUpName( buffer.toString() );
hashCode();
}
内容来源于网络,如有侵权,请联系作者删除!