static public void setProperties ( InterpretationContext ic , Properties props , Scope scope ) { switch ( scope ) { case LOCAL : ic . addSubstitutionProperties ( props ) ; break ; case CONTEXT : ContextUtil cu = new ContextUtil ( ic . getContext ( ) ) ; cu . addProperties ( props ) ; break ; case SYSTEM : OptionHelper . setSystemProperties ( ic , props ) ; } }
Add all the properties found in the argument named props to an InterpretationContext .