InputRepositoryLoader.java (1a37d047) InputRepositoryLoader.java (30acf5e8)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 95 unchanged lines hidden (view full) ---

104 */
105 public ResourceKey deriveKey(final ResourceKey parent,
106 final String path,
107 final Map factoryKeys)
108 throws ResourceKeyCreationException
109 {
110 if (!isSupportedKey(parent))
111 {
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 95 unchanged lines hidden (view full) ---

104 */
105 public ResourceKey deriveKey(final ResourceKey parent,
106 final String path,
107 final Map factoryKeys)
108 throws ResourceKeyCreationException
109 {
110 if (!isSupportedKey(parent))
111 {
112 throw new ResourceKeyCreationException("Assertation: Unsupported parent key type");
112 throw new ResourceKeyCreationException("Assertion: Unsupported parent key type");
113 }
114
115 final InputResourceKey parentKey = (InputResourceKey) parent.getIdentifier();
116 final String resource;
117 if (path.startsWith("sun:oo://"))
118 {
119 resource = path;
120 }

--- 64 unchanged lines hidden ---
113 }
114
115 final InputResourceKey parentKey = (InputResourceKey) parent.getIdentifier();
116 final String resource;
117 if (path.startsWith("sun:oo://"))
118 {
119 resource = path;
120 }

--- 64 unchanged lines hidden ---