basic framework for LinkResolver