# Uses of Class
javax.xml.stream.FactoryConfigurationError

Packages that use FactoryConfigurationError
Package
Description
javax.xml.stream
Defines interfaces and classes for the Streaming API for XML (StAX).

## Uses of FactoryConfigurationError in javax.xml.stream

Methods in javax.xml.stream that throw FactoryConfigurationError
Modifier and Type
Method
Description
`static XMLEventFactory`
XMLEventFactory.`newFactory()`
Creates a new instance of the factory.
`static XMLEventFactory`
XMLEventFactory.`newFactory(String factoryId, ClassLoader classLoader)`
Create a new instance of the factory.
`static XMLInputFactory`
XMLInputFactory.`newFactory()`
Creates a new instance of the factory.
`static XMLInputFactory`
XMLInputFactory.`newFactory(String factoryId, ClassLoader classLoader)`
Create a new instance of the factory.
`static XMLOutputFactory`
XMLOutputFactory.`newFactory()`
Creates a new instance of the factory.
`static XMLOutputFactory`
XMLOutputFactory.`newFactory(String factoryId, ClassLoader classLoader)`
Create a new instance of the factory.
`static XMLEventFactory`
XMLEventFactory.`newInstance()`
Creates a new instance of the factory in exactly the same manner as the `XMLEventFactory.newFactory()` method.
`static XMLEventFactory`
XMLEventFactory.`newInstance(String factoryId, ClassLoader classLoader)`
Deprecated.
This method has been deprecated to maintain API consistency.
`static XMLInputFactory`
XMLInputFactory.`newInstance()`
Creates a new instance of the factory in exactly the same manner as the `XMLInputFactory.newFactory()` method.
`static XMLInputFactory`
XMLInputFactory.`newInstance(String factoryId, ClassLoader classLoader)`
Deprecated.
This method has been deprecated to maintain API consistency.
`static XMLOutputFactory`
XMLOutputFactory.`newInstance()`
Creates a new instance of the factory in exactly the same manner as the `XMLOutputFactory.newFactory()` method.
`static XMLInputFactory`
XMLOutputFactory.`newInstance(String factoryId, ClassLoader classLoader)`
Deprecated.
This method has been deprecated because it returns an instance of XMLInputFactory, which is of the wrong class.