Use of JCP site is subject to the
JCP Terms of Use and the
Oracle Privacy Policy
|
This page details the proposed, accepted and deferred changes to JSR
173 documenting the changes that will go into the next revision, per Spec Lead Guide: Maintenance Review (MR), of
the JCP 6.1 document.
|
PROPOSED CHANGES |
||
Request | Summary | Specification/Interface |
1 | XMLOutputFactory deprecate via JavaDoc the public static
method in: javax.xml.stream.XMLOutputFactory public static XMLInputFactory newInstance(java.lang.String factoryId, java.lang.ClassLoader classLoader) throws FactoryConfigurationError |
XMLOutputFactory
class: add deprecated notice to method JavaDoc: @deprecated This method has been deprecated because it returns an instance of XMLInputFactory, which is of the wrong class. Use the new method newFactory(java.lang.String factoryId, java.lang.ClassLoader classLoader) instead. |
2 | XMLInputFactory deprecate via JavaDoc the public static
method in: javax.xml.stream.XMLInputFactory public static XMLInputFactory newInstance(java.lang.String factoryId, java.lang.ClassLoader classLoader) throws FactoryConfigurationError |
XMLInputFactory class: add deprecation notice to method JavaDoc: @deprecated to maintain API consistency. All newInstance methods are replaced with corresponding newFactory methods. The replacement newFactory(String factoryId, ClassLoader classLoader) method defines no changes in behavior from this method. |
3 | XMLEventFactory deprecate via JavaDoc the public static
method in: javax.xml.stream.XMLEventFactory public static XMLEventFactory newInstance(java.lang.String factoryId, java.lang.ClassLoader classLoader) throws FactoryConfigurationError |
XMLEventFactory class: add deprecation notice to method JavaDoc: @deprecated to maintain API consistency. All newInstance methods are replaced with corresponding newFactory methods. The replacement newFactory(String factoryId, ClassLoader classLoader) method defines no changes in behavior from this method. |
4 | XMLOutputFactory add public
static method to take the place of the method deprecated in proposal
request
#1:
in class: javax.xml.stream.XMLOutputFactory public static XMLOutputFactory newFactory(java.lang.String factoryId, java.lang.ClassLoader classLoader) throws FactoryConfigurationError |
XMLOutputFactory class: add new method. JavaDoc to read: Create a new instance of the factory. If the classLoader argument is null, then the ContextClassLoader is used. Note that this is a new method that replaces the deprecated newInstance(String factoryId, ClassLoader classLoader) method. No changes in behavior are defined by this replacement method relative to the deprecated method. |
5 | XMLOutputFactory add public
static method for API consistency:
in class: javax.xml.stream.XMLOutputFactory public static XMLOutputFactory newFactory() throws FactoryConfigurationError |
XMLOutputFactory class:
add new method. JavaDoc to read: Create a new instance of the factory. This static method creates a new factory instance. This method uses the following ordered lookup procedure to determine the XMLOutputFactory implementation class to load: Use the javax.xml.stream.XMLOutputFactory system property. Use the properties file "lib/stax.properties" in the JRE directory. This configuration file is in standard java.util.Properties format and contains the fully qualified name of the implementation class with the key being the system property defined above. Use the Services API (as detailed in the JAR specification), if available, to determine the classname. The Services API will look for a classname in the file META-INF/services/javax.xml.stream.XMLOutputFactory in jars available to the runtime. Platform default XMLOutputFactory instance. Once an application has obtained a reference to a XMLOutputFactory it can use the factory to configure and obtain stream instances. Note that this is a new method that replaces the deprecated newInstance() method. No changes in behavior are defined by this replacement method relative to the deprecated method. |
6 | XMLInputFactory add public
static method to take the place of the method deprecated in proposal
request #2:
in class: javax.xml.stream.XMLInputFactory public static XMLInputFactory newFactory(java.lang.String factoryId, java.lang.ClassLoader classLoader) throws FactoryConfigurationError |
XMLInputFactory class:
add new method. JavaDoc to read: Create a new instance of the factory. If the classLoader argument is null, then the ContextClassLoader is used. Note that this is a new method that replaces the deprecated newInstance(String factoryId, ClassLoader classLoader) method. No changes in behavior are defined by this replacement method relative to the deprecated method. |
7 | XMLInputFactory add public
static method for API consistency:
in class: javax.xml.stream.XMLInputFactory public static XMLInputFactory newFactory() throws FactoryConfigurationError |
XMLInputFactory class:
add new method. JavaDoc to read: Create a new instance of the factory. This static method creates a new factory instance. This method uses the following ordered lookup procedure to determine the XMLInputFactory implementation class to load: Use the javax.xml.stream.XMLInputFactory system property. Use the properties file "lib/stax.properties" in the JRE directory. This configuration file is in standard java.util.Properties format and contains the fully qualified name of the implementation class with the key being the system property defined above. Use the Services API (as detailed in the JAR specification), if available, to determine the classname. The Services API will look for a classname in the file META-INF/services/javax.xml.stream.XMLInputFactory in jars available to the runtime. Platform default XMLInputFactory instance. Once an application has obtained a reference to a XMLInputFactory it can use the factory to configure and obtain stream instances. Note that this is a new method that replaces the deprecated newInstance() method. No changes in behavior are defined by this replacement method relative to the deprecated method. |
8 | XMLEventFactory add public
static method to take the place of the method deprecated in proposal
request #3:
in class: javax.xml.stream.XMLEventFactory public static XMLEventFactory newFactory(java.lang.String factoryId, java.lang.ClassLoader classLoader) throws FactoryConfigurationError |
XMLEventFactory class:
add new method. JavaDoc to read: Create a new instance of the factory. If the classLoader argument is null, then the ContextClassLoader is used. Note that this is a new method that replaces the deprecated newInstance(String factoryId, ClassLoader classLoader) method. No changes in behavior are defined by this replacement method relative to the deprecated method. |
9 | XMLEventFactory add public
static method for API consistency
in class: javax.xml.stream.XMLEventFactory public static XMLEventFactory newFactory() throws FactoryConfigurationError |
XMLEventFactory class:
add new method. JavaDoc to read: Create a new instance of the factory. This static method creates a new factory instance. This method uses the following ordered lookup procedure to determine the XMLEventFactory implementation class to load: Use the javax.xml.stream.XMLEventFactory system property. Use the properties file "lib/stax.properties" in the JRE directory. This configuration file is in standard java.util.Properties format and contains the fully qualified name of the implementation class with the key being the system property defined above. Use the Services API (as detailed in the JAR specification), if available, to determine the classname. The Services API will look for a classname in the file META-INF/services/javax.xml.stream.XMLEventFactory in jars available to the runtime. Platform default XMLEventFactory instance. Once an application has obtained a reference to a XMLEventFactory it can use the factory to configure and obtain stream instances. Note that this is a new method that replaces the deprecated newInstance() method. No changes in behavior are defined by this replacement method relative to the deprecated method. |
ACCEPTED CHANGES |
||
Request | Summary | Specification/Interface |
|