Package org.compass.core.converter

Examples of org.compass.core.converter.DefaultConverterLookup


            Map<String, Converter> customConverters,
            List defaultExcludedProperties,
            Map defaultFormats) {
        // Code copied from Compass, since we don't want to initialise/build
        // a Compass instance just to get the converter lookup.
        ConverterLookup converterLookup = new DefaultConverterLookup();
        converterLookup.configure(configuration.getSettings().copy());
        for (String converterName : customConverters.keySet()) {
            converterLookup.registerConverter(converterName, customConverters.get(converterName));
        }

        DefaultCompassConverterLookupHelper converterLookupHelper = new DefaultCompassConverterLookupHelper();
        converterLookupHelper.setConverterLookup(converterLookup);
View Full Code Here

TOP

Related Classes of org.compass.core.converter.DefaultConverterLookup

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.