/// <summary>
/// This is used to acquire a <c>Converter</c> instance for
/// the provided value object. The value object is used to resolve
/// the converter to use for the serialization process.
/// </summary>
/// <param name="type">
/// this is the type representing the field or method
/// </param>
/// <param name="value">
/// this is the value that is to be serialized
/// </param>
/// <returns>
/// this returns the converter instance that is matched
/// </returns>
public Converter Lookup(Type type, Value value) {
Class real = type.getType();
if(value != null) {
real = value.getType();
}
return registry.Lookup(real);
}