10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.xml.internal.ws.util.xml;
27
28 import com.sun.istack.internal.Nullable;
29 import com.sun.xml.internal.ws.server.ServerRtException;
30 import java.io.File;
31 import java.net.URI;
32 import java.net.URL;
33 import java.util.ArrayList;
34 import java.util.Collections;
35 import java.util.Enumeration;
36 import javax.xml.catalog.CatalogFeatures;
37 import javax.xml.catalog.CatalogFeatures.Feature;
38 import javax.xml.catalog.CatalogManager;
39 import javax.xml.ws.WebServiceException;
40 import org.xml.sax.EntityResolver;
41
42 /**
43 *
44 * @author lukas
45 */
46 public class XmlCatalogUtil {
47
48 // Cache CatalogFeatures instance for future usages.
49 // Resolve feature is set to "continue" value for backward compatibility.
50 private static final CatalogFeatures CATALOG_FEATURES
|
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.xml.internal.ws.util.xml;
27
28 import com.sun.istack.internal.Nullable;
29 import com.sun.xml.internal.ws.server.ServerRtException;
30 import java.net.URI;
31 import java.net.URL;
32 import java.util.ArrayList;
33 import java.util.Collections;
34 import java.util.Enumeration;
35 import javax.xml.catalog.CatalogFeatures;
36 import javax.xml.catalog.CatalogFeatures.Feature;
37 import javax.xml.catalog.CatalogManager;
38 import javax.xml.ws.WebServiceException;
39 import org.xml.sax.EntityResolver;
40
41 /**
42 *
43 * @author lukas
44 */
45 public class XmlCatalogUtil {
46
47 // Cache CatalogFeatures instance for future usages.
48 // Resolve feature is set to "continue" value for backward compatibility.
49 private static final CatalogFeatures CATALOG_FEATURES
|