/** * {@inheritDoc} */ @Override public Object normalizeByOid( String oid, String value ) throws LdapException { return lookup( oid ).normalize( value ); }
/** * {@inheritDoc} */ @Override public void unregisterSchemaElements( String schemaName ) throws LdapException { if ( schemaName == null ) { return; } // Loop on all the SchemaObjects stored and remove those associated // with the give schemaName for ( Normalizer normalizer : this ) { if ( schemaName.equalsIgnoreCase( normalizer.getSchemaName() ) ) { String oid = normalizer.getOid(); SchemaObject removed = unregister( oid ); if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_13702_REMOVED_FROM_REGISTRY, removed, oid ) ); } } } }
/** * {@inheritDoc} * * This implementation makes sure we update the oid property of the contained normalizer and * comparator. */ @Override public void setOid( String oid ) { super.setOid( oid ); normalizer.setOid( oid ); comparator.setOid( oid ); }
normalizer.setBytecode( byteCodeStr ); normalizer.setFqcn( className ); normalizer.setOid( oid ); normalizer.setSchemaManager( schemaManager );
Normalizer normalizer = factory.getNormalizer( schemaManager, entry, schemaManager.getRegistries(), schemaName ); String oid = normalizer.getOid();
/** * Return a String representation of this class */ @Override public String toString() { return "OidNormalizer : { " + attributeTypeOid + ", " + normalizer.toString() + "}"; } }
if ( !normalizer.equals( that.normalizer ) )
normalizer.setBytecode( byteCodeStr ); normalizer.setFqcn( className ); normalizer.setOid( oid ); normalizer.setSchemaManager( schemaManager );
/** * Return a String representation of this class */ @Override public String toString() { return "OidNormalizer : { " + attributeTypeOid + ", " + normalizer.toString() + "}"; } }
if ( !normalizer.equals( that.normalizer ) )
/** * {@inheritDoc} */ @Override public Object normalizeByOid( String oid, String value ) throws LdapException { return lookup( oid ).normalize( value ); }
normalizer.setBytecode( byteCodeStr ); normalizer.setFqcn( className ); normalizer.setOid( oid ); normalizer.setSchemaManager( schemaManager );
/** * {@inheritDoc} */ @Override public void unregisterSchemaElements( String schemaName ) throws LdapException { if ( schemaName == null ) { return; } // Loop on all the SchemaObjects stored and remove those associated // with the give schemaName for ( Normalizer normalizer : this ) { if ( schemaName.equalsIgnoreCase( normalizer.getSchemaName() ) ) { String oid = normalizer.getOid(); SchemaObject removed = unregister( oid ); if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_13702_REMOVED_FROM_REGISTRY, removed, oid ) ); } } } }
/** * {@inheritDoc} * * This implementation makes sure we update the oid property of the contained normalizer and * comparator. */ @Override public void setOid( String oid ) { super.setOid( oid ); normalizer.setOid( oid ); comparator.setOid( oid ); }
/** * Return a String representation of this class */ @Override public String toString() { return "OidNormalizer : { " + attributeTypeOid + ", " + normalizer.toString() + "}"; } }