Package org.geoserver.web.util

Examples of org.geoserver.web.util.DataDirectoryConverterLocator$URILocator


        // TODO: load converters from application context
        ConverterLocator locator = new ConverterLocator();
        locator.set(ReferencedEnvelope.class,
            new GeoToolsConverterAdapter(new StringBBoxConverter(), ReferencedEnvelope.class)
        );
        DataDirectoryConverterLocator dd = new DataDirectoryConverterLocator(getResourceLoader());
        locator.set(File.class, dd.getConverter(File.class));
        locator.set(URI.class, dd.getConverter(URI.class));
        locator.set(URL.class, dd.getConverter(URL.class));
       
        return locator;
    }
View Full Code Here


        // TODO: load converters from application context
        ConverterLocator locator = new ConverterLocator();
        locator.set(ReferencedEnvelope.class,
            new GeoToolsConverterAdapter(new StringBBoxConverter(), ReferencedEnvelope.class)
        );
        DataDirectoryConverterLocator dd = new DataDirectoryConverterLocator(getResourceLoader());
        locator.set(File.class, dd.getConverter(File.class));
        locator.set(URI.class, dd.getConverter(URI.class));
        locator.set(URL.class, dd.getConverter(URL.class));
       
        return locator;
    }
View Full Code Here

    protected IConverterLocator newConverterLocator() {
        // TODO: load converters from application context
        ConverterLocator locator = new ConverterLocator();
        locator.set(ReferencedEnvelope.class, new GeoToolsConverterAdapter(
                new StringBBoxConverter(), ReferencedEnvelope.class));
        DataDirectoryConverterLocator dd = new DataDirectoryConverterLocator(getResourceLoader());
        locator.set(File.class, dd.getConverter(File.class));
        locator.set(URI.class, dd.getConverter(URI.class));
        locator.set(URL.class, dd.getConverter(URL.class));
        locator.set(Measure.class, new GeoToolsConverterAdapter(
                MeasureConverterFactory.CONVERTER, Measure.class));

        return locator;
    }
View Full Code Here

TOP

Related Classes of org.geoserver.web.util.DataDirectoryConverterLocator$URILocator

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.