001 /* 002 @license.text@ 003 */ 004 package biz.hammurapi.util; 005 006 007 /** 008 * @author Pavel Vlasov 009 * @version $Revision: 1.2 $ 010 */ 011 public interface Visitor { 012 /** 013 * @param target 014 * @return false if Visitor is not interested in further descending 015 * through Visitable structure 016 */ 017 boolean visit(Object target); 018 }