Package org.geotools.data.complex.config

Examples of org.geotools.data.complex.config.EmfAppSchemaReader


     * @param location
     *            schema location path that can be found through getClass().getResource()
     * @return
     */
    private SchemaIndex loadSchema(final String location) throws IOException {
        EmfAppSchemaReader reader = EmfAppSchemaReader.newInstance();
        final URL catalogLocation = getClass().getResource(schemaBase + "mappedPolygons.oasis.xml");
        reader.setResolver(catalogLocation);
        return reader.parse(new URL(location));
    }
View Full Code Here

TOP

Related Classes of org.geotools.data.complex.config.EmfAppSchemaReader

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.