Package org.fao.geonet.utils

Examples of org.fao.geonet.utils.Resolver


                //--- we must try to resolve imports from the web using the
                //--- oasis catalog
                String scFile;
                if (schemaLoc.startsWith("http:")) {
                    Resolver resolver = ResolverWrapper.getInstance();
                    scFile = resolver.getXmlResolver().resolveURI(schemaLoc);

                    if (Log.isDebugEnabled(Geonet.SCHEMA_MANAGER)) {
                          Log.debug(Geonet.SCHEMA_MANAGER, "Cats: " +
                                  Arrays.toString(resolver.getXmlResolver().getCatalogList()) +
                                  " Resolved " + schemaLoc +
                                  " " + scFile);
                    }

                    if (scFile == null) { // what use is this? old behaviour
View Full Code Here

TOP

Related Classes of org.fao.geonet.utils.Resolver

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.