jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/reader/dtd/bindinfo/BindInfo.java
changeset 30994 6efa17f32dcb
parent 25871 b80b84e87032
child 33547 e4c76ac38b12
equal deleted inserted replaced
30850:56166ce66037 30994:6efa17f32dcb
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   287     }
   287     }
   288 
   288 
   289     /**
   289     /**
   290      * Lazily parsed schema for the binding file.
   290      * Lazily parsed schema for the binding file.
   291      */
   291      */
   292     private static SchemaCache bindingFileSchema = new SchemaCache(BindInfo.class.getResource("bindingfile.xsd"));
   292     private static SchemaCache bindingFileSchema = new SchemaCache("bindingfile.xsd", BindInfo.class);
   293 
   293 
   294     /**
   294     /**
   295      * Parses an InputSource into dom4j Document.
   295      * Parses an InputSource into dom4j Document.
   296      * Returns null in case of an exception.
   296      * Returns null in case of an exception.
   297      */
   297      */