Package net.sf.saxon.query

Examples of net.sf.saxon.query.StandardModuleURIResolver


                catalogLocations.add(moduleRef);
            }
        }
        if (catalogLocations.isEmpty()) {
            // in XQTS-extra we don't catalog modules, we just reference them directly
            StandardModuleURIResolver r = StandardModuleURIResolver.getInstance();
            return r.resolve(moduleURI, baseURI, locations);
        } else {
            String[] locs = new String[catalogLocations.size()];
            for (int i=0; i<locs.length; i++) {
                locs[i] = (String)catalogLocations.get(i);
            }
            StandardModuleURIResolver r = StandardModuleURIResolver.getInstance();
            return r.resolve(moduleURI, testCase.getBaseURI(), locs);
        }
    }
View Full Code Here

TOP

Related Classes of net.sf.saxon.query.StandardModuleURIResolver

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.