001    package railo.runtime.config;
002    
003    import railo.runtime.type.Null;
004    
005    public class NullSupportHelper {
006            private static final Null NULL=Null.NULL;
007            
008            protected static boolean fullNullSupport=false;
009            
010            public static boolean full() {
011                    return fullNullSupport;
012            }
013            
014            public static Object NULL() {
015                    return fullNullSupport?NULL:null;
016            }
017            
018            public static Object empty() {
019                    return fullNullSupport?null:"";
020            }
021    }