/*
 * @(C) MenuObjectValidator.java
 *
 * 
 */

package com.fgm.web.menu;

/**
 * Depending upon business conditions we may want to disable
 * few objects to be displayed in generated menu.
 *
 * This can be done by providing implementation of this iterface.
 *
 * @author <a href="raahul80@hotmail.com">Rahul Kulkarni</a>
 * @version $Revision$
 */
public interface MenuObjectValidator {

	/**
	 * Validates the passed object and return <code>true</code>
	 * if the object should be added into menu repository or no
	 *
	 * @param obj Object to be validated
	 */ 
	public boolean validate(Object obj);
}