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 factoryId,
ClassLoader classLoader)
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 factoryId,
ClassLoader classLoader)
Deprecated.
This method has been deprecated because it returns an
instance of XMLInputFactory, which is of the wrong class.
Use the new method
XMLOutputFactory.newFactory(java.lang.String,
java.lang.ClassLoader) instead. |
static XMLInputFactory |
XMLInputFactory.newInstance(String factoryId,
ClassLoader classLoader)
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. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.