001 package railo.runtime.type.scope; 002 003 import railo.runtime.listener.ApplicationContext; 004 005 public interface ScriptProtected { 006 007 public static final int UNDEFINED=0; 008 public static final int YES=1; 009 public static final int NO=2; 010 011 012 /** 013 * @return returns if the values of the scope are already protected against cross site scripting 014 */ 015 public boolean isScriptProtected(); 016 017 /** 018 * transform the string values of the scope do a script protecting way 019 */ 020 public void setScriptProtecting(ApplicationContext ac,boolean scriptProtecting); 021 022 }