| Package | Description |
|---|---|
| javax.xml.stream |
| Modifier and Type | Method and Description |
|---|---|
static XMLInputFactory |
XMLInputFactory.newFactory()
Create a new instance of the factory.
|
static XMLInputFactory |
XMLInputFactory.newFactory(String
Create a new instance of the factory.
|
static XMLInputFactory |
XMLInputFactory.newInstance()
Creates a new instance of the factory in exactly the same manner as the
newFactory() method.
|
static XMLInputFactory |
XMLOutputFactory.newInstance(String
Deprecated.
This method has been deprecated because it returns an instance of XMLInputFactory, which is of the wrong class. Use the new method
XMLOutputFactory instead.
|
static XMLInputFactory |
XMLInputFactory.newInstance(String
Deprecated.
This method has been deprecated to maintain API consistency. All newInstance methods have been replaced with corresponding newFactory methods. The replacement
newFactory(java.lang.String, java.lang.ClassLoader) method defines no changes in behavior.
|