package tk.eclipse.plugin.htmleditor;

import tk.eclipse.plugin.htmleditor.assist.AssistInfo;
import tk.eclipse.plugin.htmleditor.assist.AttributeInfo;

/**
 * An interface to extend taglib completion in the JSP editor.
 * 
 * @author Naoki Takezoe
 */
public interface ICustomTagAttributeAssist {
	
	/**
	 * Returns an array of completion proposals.
	 * If this class can't process arguments, returns null.
	 * 
	 * @param tagName  tag name (without prefix)
	 * @param uri      taglib URI
	 * @param value    input value
	 * @param attrInfo attribute information
	 * @return completion proposals
	 */
	public AssistInfo[] getAttributeValues(String tagName,String uri,String value,AttributeInfo attrInfo);
}
