public class Prepare4Validation
extends ProxyVisitorAdapter {
protected void visitAll(Proxy proxy) {
final InternalProxy internalProxy = (InternalProxy) proxy;
internalProxy.prepareForValidation();
}
public void prepare(Proxy proxy) {
ProxyWalker walker = new ProxyWalker(this);
walker.walk((InternalProxy) proxy);