Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4531658

Typos in description of TransformerFactory methods

XMLWordPrintable

    • tiger
    • generic
    • generic
    • Verified

      Name: eaR10174 Date: 11/27/2001


        There are typos in the description of the methods
      javax.xml.transform.TransformerFactory.newTransformer(),
      javax.xml.transform.TransformerFactory.newTransformer(Source source) and
      javax.xml.transform.TransformerFactory.newInstance():
        
        "public abstract Transformer newTransformer()
                                          throws TransformerConfigurationException

           ...
           Throws:
               TransformerConfigurationException - May throw this during the parse when it
      is constructing the Templates object and fails.
                          ^^^^^^^^^^^^^^^

         public abstract Transformer newTransformer(Source source)
                                          throws TransformerConfigurationException

           ...
           Throws:
               TransformerConfigurationException - May throw this during the parse when it
      is constructing the Templates object and fails.
                          ^^^^^^^^^^^^^^^

         public static TransformerFactory newInstance()
                                            throws TransformerFactoryConfigurationError

           ...
           Throws:
               TransformerFactoryConfigurationError - if the implmentation is not available
                                                             ^^^^^^^^^^^^^
      or cannot be instantiated. "


        The words "the Transformer object" should be used instead of words "the Templates
      object".

        This bug is found in the builds: jdk1.4.0-rc-b87, jaxp-1.1.3-b02-30_oct_2001.

      ======================================================================

            jsuttorsunw Jeff Suttor (Inactive)
            evgsunw Evg Evg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: