node.setValue( newValue );
}
}
else if ( filter instanceof ExtensibleNode )
{
ExtensibleNode node = ( ( ExtensibleNode ) filter );
if ( !schemaManager.lookupAttributeTypeRegistry( node.getAttribute() ).getSyntax().isHumanReadable() )
{
String message = I18n.err( I18n.ERR_51 );
LOG.error( message );
throw new NamingException( message );
}
}
else if ( filter instanceof ApproximateNode )
{
ApproximateNode node = ( ( ApproximateNode ) filter );
Object value = node.getValue();
Value<?> newValue = convert( node.getAttribute(), value );
if ( newValue != null )
{
node.setValue( newValue );
}
}
else if ( filter instanceof AssertionNode )
{
// Nothing to do