< prev index next >

src/java.xml/share/classes/org/xml/sax/XMLReader.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 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

@@ -125,13 +125,13 @@
      * <p>Implementors are free (and encouraged) to invent their own features,
      * using names built on their own URIs.</p>
      *
      * @param name The feature name, which is a fully-qualified URI.
      * @return The current value of the feature (true or false).
-     * @exception org.xml.sax.SAXNotRecognizedException If the feature
+     * @throws org.xml.sax.SAXNotRecognizedException If the feature
      *            value can't be assigned or retrieved.
-     * @exception org.xml.sax.SAXNotSupportedException When the
+     * @throws org.xml.sax.SAXNotSupportedException When the
      *            XMLReader recognizes the feature name but
      *            cannot determine its value at this time.
      * @see #setFeature
      */
     public boolean getFeature (String name)

@@ -152,13 +152,13 @@
      * http://xml.org/sax/features/namespaces to true and
      * http://xml.org/sax/features/namespace-prefixes to false.</p>
      *
      * @param name The feature name, which is a fully-qualified URI.
      * @param value The requested value of the feature (true or false).
-     * @exception org.xml.sax.SAXNotRecognizedException If the feature
+     * @throws org.xml.sax.SAXNotRecognizedException If the feature
      *            value can't be assigned or retrieved.
-     * @exception org.xml.sax.SAXNotSupportedException When the
+     * @throws org.xml.sax.SAXNotSupportedException When the
      *            XMLReader recognizes the feature name but
      *            cannot set the requested value.
      * @see #getFeature
      */
     public void setFeature (String name, boolean value)

@@ -181,13 +181,13 @@
      * <p>Implementors are free (and encouraged) to invent their own properties,
      * using names built on their own URIs.</p>
      *
      * @param name The property name, which is a fully-qualified URI.
      * @return The current value of the property.
-     * @exception org.xml.sax.SAXNotRecognizedException If the property
+     * @throws org.xml.sax.SAXNotRecognizedException If the property
      *            value can't be assigned or retrieved.
-     * @exception org.xml.sax.SAXNotSupportedException When the
+     * @throws org.xml.sax.SAXNotSupportedException When the
      *            XMLReader recognizes the property name but
      *            cannot determine its value at this time.
      * @see #setProperty
      */
     public Object getProperty (String name)

@@ -211,13 +211,13 @@
      * <p>This method is also the standard mechanism for setting
      * extended handlers.</p>
      *
      * @param name The property name, which is a fully-qualified URI.
      * @param value The requested value for the property.
-     * @exception org.xml.sax.SAXNotRecognizedException If the property
+     * @throws org.xml.sax.SAXNotRecognizedException If the property
      *            value can't be assigned or retrieved.
-     * @exception org.xml.sax.SAXNotSupportedException When the
+     * @throws org.xml.sax.SAXNotSupportedException When the
      *            XMLReader recognizes the property name but
      *            cannot set the requested value.
      */
     public void setProperty (String name, Object value)
         throws SAXNotRecognizedException, SAXNotSupportedException;

@@ -370,13 +370,13 @@
      * has ended.  If a client application wants to terminate
      * parsing early, it should throw an exception.</p>
      *
      * @param input The input source for the top-level of the
      *        XML document.
-     * @exception org.xml.sax.SAXException Any SAX exception, possibly
+     * @throws org.xml.sax.SAXException Any SAX exception, possibly
      *            wrapping another exception.
-     * @exception java.io.IOException An IO exception from the parser,
+     * @throws java.io.IOException An IO exception from the parser,
      *            possibly from a byte stream or character stream
      *            supplied by the application.
      * @see org.xml.sax.InputSource
      * @see #parse(java.lang.String)
      * @see #setEntityResolver

@@ -401,13 +401,13 @@
      *
      * <p>If the system identifier is a URL, it must be fully resolved
      * by the application before it is passed to the parser.</p>
      *
      * @param systemId The system identifier (URI).
-     * @exception org.xml.sax.SAXException Any SAX exception, possibly
+     * @throws org.xml.sax.SAXException Any SAX exception, possibly
      *            wrapping another exception.
-     * @exception java.io.IOException An IO exception from the parser,
+     * @throws java.io.IOException An IO exception from the parser,
      *            possibly from a byte stream or character stream
      *            supplied by the application.
      * @see #parse(org.xml.sax.InputSource)
      */
     public void parse (String systemId)
< prev index next >