Lines Matching defs:scheme
223 * try the URL context factory corresponding to each URL's scheme id
379 String scheme = getURLScheme(url);
380 if (scheme != null) {
381 answer = getURLObject(scheme, refInfo, name, nameCtx,
395 String scheme = getURLScheme(urls[i]);
396 if (scheme != null) {
397 answer = getURLObject(scheme, refInfo, name, nameCtx,
482 * Creates a context for the given URL scheme id.
485 * scheme <code>scheme</code>. The resulting context is not tied
487 * the specified scheme.
490 * has the naming convention <i>scheme-id</i>URLContextFactory
491 * (e.g. "ftpURLContextFactory" for the "ftp" scheme-id),
502 * concatenated with the scheme id.
504 * For example, if the scheme id is "ldap", and the
531 * @param scheme The non-null scheme-id of the URLs supported by the context.
535 * scheme id <code>scheme</code>;
543 public static Context getURLContext(String scheme,
547 // pass in 'null' to indicate creation of generic context for scheme
550 Object answer = getURLObject(scheme, null, null, null, environment);
561 * Creates an object for the given URL scheme id using
565 * with the scheme id 'scheme'.
577 * context factory for the URL scheme.
578 * @param scheme the URL scheme id for the context
586 private static Object getURLObject(String scheme, Object urlInfo,
594 "." + scheme + "." + scheme + "URLContextFactory", defaultPkgPrefix);