< prev index next >

src/java.xml/share/classes/org/xml/sax/ext/EntityResolver2.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2004, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 135,147 **** * * @return An InputSource object describing the new external subset * to be used by the parser, or null to indicate that no external * subset is provided. * ! * @exception SAXException Any SAX exception, possibly wrapping * another exception. ! * @exception IOException Probably indicating a failure to create * a new InputStream or Reader, or an illegal URL. */ public InputSource getExternalSubset (String name, String baseURI) throws SAXException, IOException; --- 135,147 ---- * * @return An InputSource object describing the new external subset * to be used by the parser, or null to indicate that no external * subset is provided. * ! * @throws SAXException Any SAX exception, possibly wrapping * another exception. ! * @throws IOException Probably indicating a failure to create * a new InputStream or Reader, or an illegal URL. */ public InputSource getExternalSubset (String name, String baseURI) throws SAXException, IOException;
*** 192,204 **** * @return An InputSource object describing the new input source to * be used by the parser. Returning null directs the parser to * resolve the system ID against the base URI and open a connection * to resulting URI. * ! * @exception SAXException Any SAX exception, possibly wrapping * another exception. ! * @exception IOException Probably indicating a failure to create * a new InputStream or Reader, or an illegal URL. */ public InputSource resolveEntity ( String name, String publicId, --- 192,204 ---- * @return An InputSource object describing the new input source to * be used by the parser. Returning null directs the parser to * resolve the system ID against the base URI and open a connection * to resulting URI. * ! * @throws SAXException Any SAX exception, possibly wrapping * another exception. ! * @throws IOException Probably indicating a failure to create * a new InputStream or Reader, or an illegal URL. */ public InputSource resolveEntity ( String name, String publicId,
< prev index next >