Package edu.indiana.dlib.metsnav.config.parameter

Examples of edu.indiana.dlib.metsnav.config.parameter.ParameterMapFactory


                String prefix = collConfig.getPrefix();
                context.setAttribute(Globals.INTERFACE_KEY + prefix, collConfig.getUserInterface());
                DataSourceConfig dsc = collConfig.getDataSource();
                dsc.setPathPrefix(context.getRealPath("/"));
                context.setAttribute(Globals.DATA_SOURCE_KEY + prefix, dsc);
                ParameterMapFactory pmf = ParameterMapFactory.newInstance();
                pmf.registerParameterMap(Globals.NAVIGATE_ACTION, collConfig.getDigitalImage());

                // TODO: generalize this
                pmf.registerParameterMap(Globals.DATA_STREAM_KEY + prefix, collConfig
                        .getDataStream());
                context.setAttribute(Globals.PARAMETER_MAP_FACTORY_KEY + prefix, pmf);

                context.setAttribute(Globals.COLLECTION_CONFIG_KEY + prefix, collConfig);
View Full Code Here

TOP

Related Classes of edu.indiana.dlib.metsnav.config.parameter.ParameterMapFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.