/* * Created on Mar 17, 2005 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package fr.lifl.stc.stan.policy; import org.apache.bcel.classfile.JavaClass; /** * @author dorina * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */ public interface Policy { public static final int SECRET_ATTRIBUTE = 0; public static final int PUBLIC_ATTRIBUTE = 1; public static final int UNSPECIFIED_ATTRIBUTE = 2; /** * * @param clas the name of the class * @param attribute the name of the attribute * @return SECRET_ATTRIBUTE is attribute is secret, PUBLIC_ATTRIBUTE if it is public * or UNSPECIFIED_ATTRIBUTE if not specified */ public int findAttribute(String clas, String attribute); public boolean findClass(String clas); public void registerClass(JavaClass jc); public ClassPolicy getClassPolicy(String clas); }